add runwon and runlost functions, default win cards, call button that calls a loaded contact, added rotatecells, shiftcells, and swapcells functions to actor, reworked address to be 0-8 instead of 1-9, added underscore naming convention to function parameters, business cards to be slightly transparent when not met, added actions to contacts and made a couple examples

This commit is contained in:
2026-01-25 15:01:48 -05:00
parent c1ef887be3
commit 2fdf0d6442
27 changed files with 473 additions and 104 deletions

View File

@@ -72,6 +72,16 @@ public partial class Player : Actor
_businessCards.ForEach(b=>b.CheckGoal());
}
public void RunLost()
{
_debug.Text = "YOU LOSE!!";
}
public void RunWon()
{
_debug.Text = "YOU WIN!!";
}
// public bool CheckWin(List<Cell> CELLS)
// {
// foreach (Goal.GoalName cond in _goal._eligibleGoals)