updating movement and added a bucket, still some clean up to do on movement. TODO: if enemy becomes stuck, reclculate path.

This commit is contained in:
2026-06-05 03:48:07 -04:00
parent 0cbc6cbfc7
commit 12b565715a
19 changed files with 360 additions and 46 deletions
+1 -2
View File
@@ -22,7 +22,7 @@ public partial class PlayerController : TurnController
}
}
public void SetUpTowers(int TOWER_COUNT = 8)
public void SetUpTowers(int TOWER_COUNT = 5)
{
Tower tower = GetNode<Tower>("Tower1");
Vector2 towerPositionCorrection = tower._offset.Position;
@@ -48,7 +48,6 @@ public partial class PlayerController : TurnController
public override void StartTurn()
{
_towers.ForEach(t => t.StartTurn());
// _towers.Where(t=> t._commander != null).ToList().ForEach(t=>t._commander._actions = t._commander._actionsMax);
}
}