From 68a93d889183e418cf92ce78040c4d1be6708936 Mon Sep 17 00:00:00 2001 From: Maciekxdabu <40292375+Maciekxdabu@users.noreply.github.com> Date: Mon, 23 May 2022 14:00:59 +0200 Subject: [PATCH] merloj: missing function fix (SetTileCoord()) --- theProject/Assets/Scripts/Soldier.cs | 5 +++++ 1 file changed, 5 insertions(+) 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;