private void Init() { this.loadSUCCESS = this.savedata.loadSucces; ShanghaiEXE.scene = new FirstTitle(this.ad, this, this.savedata); ShanghaiEXE.scene.Init(); this.init = true; this.Text = ShanghaiEXE.Translate("Common.Title").Text; }
public void ChangeOfSecne(Scene change) { switch (change) { case Scene.Title: ShanghaiEXE.scene = new SceneTitle(this.ad, this, this.savedata); break; case Scene.Main: ShanghaiEXE.scene = new SceneMain(this.ad, this, this.savedata); break; case Scene.GameOver: ShanghaiEXE.scene = new GameOver(this.ad, this, this.savedata); break; } ShanghaiEXE.scene.Init(); }