mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-11-11 17:33:54 +01:00
merloj: missing function fix (SetTileCoord())
This commit is contained in:
parent
ae04f9f4af
commit
68a93d8891
@ -66,6 +66,11 @@ public class Soldier : Base
|
|||||||
setEnemyTag();
|
setEnemyTag();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetTileCoords(Vector2Int tileCoordinates)
|
||||||
|
{
|
||||||
|
tileCoord = tileCoordinates;
|
||||||
|
}
|
||||||
|
|
||||||
public void setEnemyTag()
|
public void setEnemyTag()
|
||||||
{
|
{
|
||||||
if(ourType == SoldierType.Ally) enemyType = SoldierType.Enemy;
|
if(ourType == SoldierType.Ally) enemyType = SoldierType.Enemy;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user