Exemple #1
0
        public void InitIntent(bool isHuman)
        {
            if (isHuman)
            {
                playerIntent = new SooooookolatIntent();
            }
            else
            {
                playerIntent = new SooooookolatAndroidInent();
            }

            playerIntent.InitPlayerIntent();

            gameStart = true;
        }
        public void InitIntent(bool isHuman)
        {
            isInit = false;
            if (isHuman)
            {
                playerIntent = new GridWorldIntent();
            }
            else
            {
                playerIntent = new GridWorldAndroidIntent(MAX_CELLS_PER_LINE, MAX_CELLS_PER_COLUMN, xGoal, yGoal, cells);
            }

            playerIntent.InitPlayerIntent();

            gameStart = true;
        }