Ejemplo n.º 1
0
        // new world with the editor
        private World(PlayMode playMode)
        {
            this.PlayMode = playMode;
            this.viewport = new GamePoint(0, 0);

            if (playMode == PlayMode.Editor)
                mainGameObject = new NullMGO();
        }
Ejemplo n.º 2
0
 // only called when starting the game
 public void Init(MainGameObject mainGameObject)
 {
     this.mainGameObject = mainGameObject;
 }