add default goal business cards, allow Board.GetCellsByOwner to accept actor instead of player, rework BusinessCard click to be accepted based on _goalMet instead of Disabled, add default goals to enemy class,

This commit is contained in:
2026-01-20 01:59:28 -05:00
parent 5cfc05b662
commit c1ef887be3
11 changed files with 171 additions and 23 deletions

View File

@@ -71,9 +71,9 @@ public partial class Board : Sprite2D
return _cells.Single(c=>c._address == ADDRESS);
}
public List<Cell> GetCellsByOwner(Player PLAYER)
public List<Cell> GetCellsByOwner(Actor ACTOR)
{
return _cells.Where(c=>c._marker == PLAYER).ToList();
return _cells.Where(c=>c._marker == ACTOR).ToList();
}
//THIS SHOULD BE MOVED INTO ACTION LOGIC