Beispiel #1
0
 public void Init(Triliza triliza, int x, int y)
 {
     m_Triliza      = triliza;
     m_CellPosition = new CellPosition {
         x = x, y = y
     };
     ResetCellView();
 }
Beispiel #2
0
        //For easy recreation
        public Triliza(Triliza triliza)
        {
            m_CheckWinLogic = new CheckWinLogic(3, 3, 2, new PlayerType[] { PlayerType.ENEMY, PlayerType.PLAYER });
            m_AiLogic       = triliza.m_AiLogic;
            m_GameType      = triliza.m_GameType;
            GameHasEnded    = false;

            SetupRestOfStuff();
        }