Exemple #1
0
        public void StartGame()
        {
            var overworldScene = new OverworldScene(this);

            overworldScene.SetZone(Zone.Factory(this, null, "coliseum/cell"), "bed");
            PushScene(overworldScene);

            ResetGame();
            BeginNewGame();
        }
Exemple #2
0
        public void LoadGame(int filenumber)
        {
            ResetGame();

            var save = Data.SaveGame.Load(this, filenumber);

            Inventory = save.Inventory;
            Party     = save.Party;
            Money     = save.Money;
            GameTime  = save.GameTime;

            var overworldScene = new OverworldScene(this);

            overworldScene.SetZone(Zone.Factory(this, null, save.Zone), save.Door);
            PushScene(overworldScene);
        }