Exemple #1
0
 // Use this for initialization
 void Start()
 {
     m_difficultyLevel = ApplicationModel.difficulty;
     m_turnState       = ApplicationModel.DeterminePlayerStartState((int)ApplicationModel.playerStart)
         ? ApplicationModel.TurnState.PLAYER
         : ApplicationModel.TurnState.AI;
 }
Exemple #2
0
 public static void ReversePlayerSide()
 {
     m_turnState = m_turnState == ApplicationModel.TurnState.AI
         ? ApplicationModel.TurnState.PLAYER
         : ApplicationModel.TurnState.AI;
 }