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:
@@ -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)];
|
||||
|
||||
Reference in New Issue
Block a user