public Game1() : base() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; string saveFolder = "AstrocatsSaves"; string saveFile1 = "save1.sav"; string saveFile2 = "save2.sav"; string saveFile3 = "save3.sav"; save1 = new MonoGameSaveManager.IsolatedStorageSaveManager(saveFolder, saveFile1); save2 = new MonoGameSaveManager.IsolatedStorageSaveManager(saveFolder, saveFile2); save3 = new MonoGameSaveManager.IsolatedStorageSaveManager(saveFolder, saveFile3); #if WINDOWS_PHONE || ANDROID || IOS // Frame rate is 30 fps by default for Windows Phone, // so let's keep that for other phones too TargetElapsedTime = TimeSpan.FromTicks(333333); graphics.IsFullScreen = true; #elif WINDOWS || DESKTOP_GL graphics.PreferredBackBufferWidth = 1600; graphics.PreferredBackBufferHeight = 900; #endif #if WINDOWS_8 FlatRedBall.Instructions.Reflection.PropertyValuePair.TopLevelAssembly = this.GetType().GetTypeInfo().Assembly; #endif }
private void GetSaveData() { this.save = Game1.currentSave; }