public void Restart() { theMap = theFiler.GetMap(currentMap); SetTheseus(theFiler.GetTheseus()); SetMinotaur(theFiler.GetMinotaur()); Run(); }
/*********************************************************************/ /**** TEST STUFF ****/ /*********************************************************************/ public void SetTestMap(int testMap) { currentMap = testMap; theFiler = new Filer(); theFiler.InitTestCases(); theMap = theFiler.GetTestMaps(testMap); SetTheseus(theFiler.GetTheseus()); SetMinotaur(theFiler.GetMinotaur()); }
/**** Import Map from Filer */ public void SetMap(int aMap) { currentMap = aMap; theFiler = new Filer(); theFiler.Init(); theMap = theFiler.GetMap(aMap); SetTheseus(theFiler.GetTheseus()); SetMinotaur(theFiler.GetMinotaur()); }
/*********************************************************************/ /**** TEST STUFF ****/ /*********************************************************************/ public void SetTestMap(int testMap) { currentMap = testMap; theFiler = new Filer(); theFiler.InitTestCases(); theMap = theFiler.GetTestMaps(testMap); SetTheseus(theFiler.GetTheseus()); SetMinotaur(theFiler.GetMinotaur()); }
/**** Import Map from Filer */ public void SetMap(int aMap) { currentMap = aMap; theFiler = new Filer(); theFiler.Init(); theMap = theFiler.GetMap(aMap); SetTheseus(theFiler.GetTheseus()); SetMinotaur(theFiler.GetMinotaur()); }