Esempio n. 1
0
 public override void Update(StateManage SM, Form GF)
 {
     // scriptMachine_.Execute(TLM_);
     if (isTransGameState_)
     {
         isTransGameState_ = false;
         // Control = false;
         SM.Push(new NovelState(GF, Const.Window.WIDTH, Const.Window.HEIGHT, "Script/start.fnms"));
     }
     else if (isTransSettingState_)
     {
         isTransSettingState_ = false;
         // Control = false;
         SM.Push(new SettingState(GF, Const.Window.WIDTH, Const.Window.HEIGHT));
     }
 }
Esempio n. 2
0
 public override void Update(StateManage SM, Form GF)
 {
     scriptMachine_.Execute(GML_);
     // test
     if (isTransSetting_)
     {
         isTransSetting_ = false;
         SM.Push(new SettingState(GF, Const.Window.WIDTH, Const.Window.HEIGHT));
         // SM.Pop();
     }
 }