コード例 #1
0
        public GameManager(int width, int height, int tileSide)
        {
            Resources.Setup();
            currentState = new MenuState(this);

            this.width    = width;
            this.height   = height;
            this.tileSide = tileSide;
        }
コード例 #2
0
 public void BeginGame()
 {
     currentState = new IngameState(width, height, tileSide);
 }