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

@@ -14,8 +14,8 @@ public partial class Goal : Node
{GoalName.LeftColumn, new (){1,4,7}},
{GoalName.MiddleColumn, new (){2,5,8}},
{GoalName.RightColumn, new (){3,6,9}},
{GoalName.ForwardDiagonal, new (){3,5,7}},
{GoalName.BackwardDiagonal, new (){1,5,9}},
{GoalName.Diagonal1To9, new (){1,5,9}},
{GoalName.Diagonal3To7, new (){3,5,7}},
{GoalName.Number1, new (){1,2,5,7,8,9}},
{GoalName.Number2, new (){1,2,4,5,8,9}},
{GoalName.Number3, new (){1,2,5,6,7,8}},
@@ -62,6 +62,8 @@ public partial class Goal : Node
{GoalName.ShortRightAngleAt9, new (){6,8,9}},
{GoalName.Corners, new (){1,4,7,9}},
{GoalName.Diamond, new (){2,4,6,8}},
{GoalName.Blackout, new (){1,2,3,4,5,6,7,8,9}},
};
public List<int> GetAddresses(GoalName NAME)