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:
10
Player.cs
10
Player.cs
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user