Example #1
0
 public Stageclear(Texture2D tex_t, StageData sd_s)
 {
     this.tex = tex_t;
     this.sd  = sd_s;
     Program.game.game.Drawevents += new Game.DrawDelegate(this.Draw);
     this.x1         = this.x2 = 280f;
     Stageclear.stgc = this;
 }
Example #2
0
 public static void Updates()
 {
     if (Stageclear.stgc != null && !Stageclear.stgc.die)
     {
         Stageclear.stgc.Update();
         Stageclear.dt = 0;
     }
     else
     {
         if (Stageclear.stgc == null || !Stageclear.stgc.die)
         {
             return;
         }
         Stageclear.stgc.Close();
         ++Stageclear.dt;
         if (Stageclear.dt < 20)
         {
             return;
         }
         Stageclear.dt   = 0;
         Stageclear.stgc = (Stageclear)null;
     }
 }