Пример #1
0
 public SaveLoadSlot(GameScreen parentScreen, int slotNumber, Vector2 selectorOffset)
 {
     this.parentScreen        = parentScreen;
     this.slotNumber          = slotNumber;
     this.selectorOffset      = selectorOffset;
     this.saveGameDescription = null;
 }
Пример #2
0
        private void OnLoadingSaveGame(SaveGameDescription saveGameDescription)
        {
            LoadingSaveGameHandler handler = LoadingSaveGame;

            if (handler != null)
            {
                handler(saveGameDescription, ControllingPlayer.Value);
            }
        }
Пример #3
0
        private void OnLoadingSaveGame(SaveGameDescription saveGameDescription)
        {
            LoadingSaveGameHandler handler = LoadingSaveGame;

            if (handler != null)
            {
                handler(saveGameDescription, ControllingPlayer.Value);
            }
        }
Пример #4
0
 private void FileToLoadChosenHandler(SaveGameDescription saveGameDescription, PlayerIndex playerIndex)
 {
     ControllingPlayer = playerIndex;
     StorageManager.LoadFromSaveFile(saveGameDescription, DossierLoadedCallback);
 }
Пример #5
0
 public void RefreshSlot(SaveGameDescription saveGameDescription)
 {
     this.saveGameDescription = saveGameDescription;
 }
Пример #6
0
 private void FileToLoadChosenHandler(SaveGameDescription saveGameDescription, PlayerIndex playerIndex)
 {
     ControllingPlayer = playerIndex;
     StorageManager.LoadFromSaveFile(saveGameDescription, DossierLoadedCallback);
 }
Пример #7
0
 /// Create a new GameplayScreen object from a new-game description.
 public PickerPanel(MainGameScreen parentScreen, SaveGameDescription saveGameDescription)
 {
     this.parentScreen         = parentScreen;
     this.saveGameDescription  = saveGameDescription;
     this.gameStartDescription = null;
 }