private void StartThisLevelNow(int levelId) { Time.timeScale = 0; Pellet.pelletsAmount = 0; CurrentStateOfThings = new VastAndColdVoid(); Application.LoadLevel(levelId); }
private void RestartLevel() { CurrentStateOfThings.OnExtermination(); CurrentStateOfThings = new VastAndColdVoid(); StartThisLevelNow(Application.loadedLevel); }
public void EstablishStateOfThingsSir(AbstractArtState NewlyCameToLifeShit) { CurrentStateOfThings.OnExtermination(); CurrentStateOfThings = NewlyCameToLifeShit; CurrentStateOfThings.OnBirth(); }