Exemple #1
0
 // ----------------------------------------------------------------
 //  Makin' Moves
 // ----------------------------------------------------------------
 private bool MayExecuteMove(Vector2Int dir)
 {
     if (IsEveryPlayerDead())
     {
         return(false);
     }
     //if (AreGoalsSatisfied) { return false; } // We can't execute after we've won.
     return(BoardUtils.MayMovePlayers(this, players, dir)); // Ok, now just check if it's legal!
 }