think i finally solved movement going into enemy territory
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user