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