public SaveLoadSlot(GameScreen parentScreen, int slotNumber, Vector2 selectorOffset) { this.parentScreen = parentScreen; this.slotNumber = slotNumber; this.selectorOffset = selectorOffset; this.saveGameDescription = null; }
private void OnLoadingSaveGame(SaveGameDescription saveGameDescription) { LoadingSaveGameHandler handler = LoadingSaveGame; if (handler != null) { handler(saveGameDescription, ControllingPlayer.Value); } }
private void FileToLoadChosenHandler(SaveGameDescription saveGameDescription, PlayerIndex playerIndex) { ControllingPlayer = playerIndex; StorageManager.LoadFromSaveFile(saveGameDescription, DossierLoadedCallback); }
public void RefreshSlot(SaveGameDescription saveGameDescription) { this.saveGameDescription = saveGameDescription; }
/// 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; }