think i finally solved movement going into enemy territory

This commit is contained in:
2026-07-05 02:51:09 -04:00
parent dbafefd660
commit bfcd48e657
9 changed files with 14 additions and 38 deletions
-1
View File
@@ -36,7 +36,6 @@ public partial class PlayArea : Node2D
MapCell c = _map._cells.ElementAt(i).Value;
if (c._occupant != null)
{
GD.Print(c._occupant);
occupiedSpaces.SetCell(c._address, 0, new Vector2I(4,0));
}
else if (_map._astar.IsPointSolid(c._address))