diff --git a/theProject/Assets/Scripts/Soldier.cs b/theProject/Assets/Scripts/Soldier.cs index e7d3c149..37fffdde 100644 --- a/theProject/Assets/Scripts/Soldier.cs +++ b/theProject/Assets/Scripts/Soldier.cs @@ -66,6 +66,11 @@ public class Soldier : Base setEnemyTag(); } + public void SetTileCoords(Vector2Int tileCoordinates) + { + tileCoord = tileCoordinates; + } + public void setEnemyTag() { if(ourType == SoldierType.Ally) enemyType = SoldierType.Enemy;