starting to build out more actions and pegs, first thing to do tho is rework movement / targeting a little bit

This commit is contained in:
2026-07-02 00:20:52 -04:00
parent bbe9eefcfa
commit 909f466f92
15 changed files with 52 additions and 14 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ public partial class Spearman : FriendlyPeg
_visibility = 4;
}
public override List<Vector2I> GetGoals()
public override List<Vector2I> Target()
{
Map map = _pegController._playArea._map;
List<Peg> enemies = [.. _pegController._pegs.Where(p => p._disposition == -_disposition)];