continuing to switch to MapCell orientation

This commit is contained in:
2026-07-03 02:16:29 -04:00
parent e6355167e3
commit 336b72e4cb
13 changed files with 81 additions and 82 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ public partial class PegAction : Node2D
{
return PEG._staminaRemaining >= _cost
&& _usesRemaining > 0
&& (PEG._address - Target(PEG)).Length() <= _range;
&& (PEG._address - Target(PEG)._address).Length() <= _range;
}
public virtual void Reset()
@@ -35,8 +35,8 @@ public partial class PegAction : Node2D
_usesRemaining = _usesMax;
}
public virtual Vector2I Target(Peg PEG)
public virtual MapCell Target(Peg PEG)
{
return PEG._address;
return PEG._cell;
}
}