Example #1
0
 void Load()
 {
     if (file != null && file != "")
     {
         SaveTheGame.LoadTheGame(Application.persistentDataPath + "/SavedGames/" + file);
     }
 }
Example #2
0
        public MainWindow()
        {
            InitializeComponent();
            GameAreaScreen = new GameArea();
            //GameAreaVisual = new GameAreaVisual();
            GameController         = new GameController(this);
            ChooseSaveToLoadScreen = new ChooseSaveToLoad();
            SaveTheGameScreen      = new SaveTheGame();

            LifeGameWindow.DataContext = GameController;

            Update();
        }
Example #3
0
    void Save()
    {
        SaveTheGame.Save(controller.GetComponent <ControllerScript> (), emeth.GetComponent <EmethScript> (), Inventory, Table);

        Loadingtext.SetActive(true);
    }