state pushed on top of the GameManager when the player dies.
Inheritance: AState
Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     controller = gameObject.GetComponent<Controller> ();
     P1OUT = false;
     P2OUT = false;
     winningplayer = GameOverState.NOTOVER;
 }
Exemplo n.º 2
0
 public void Awake()
 {
     CheckSpecial = new CheckSpecialState(this);
     CreateNew = new CreateNewState(this);
     RemoveState = new RemoveCombinationState(this);
     GameOverState = new GameOverState(this);
     WinState = new WinState(this);
     FieldState = new Field(this);
     //PauseState = new PauseState(this);
 }
Exemplo n.º 3
0
 public void Init()
 {
     s = new GameOverState();
 }