示例#1
0
 public void Hander(int level)
 {
     if (level == mLv)
     {
         UpdateStage();
         CheckIsFinished(); //检查关卡是否结束
     }
     else
     {
         if (mNextStageHander != null)
         {
             mNextStageHander.Hander(level);
         }
     }
 }
示例#2
0
 /// <summary>
 /// 更新关卡
 /// </summary>
 public override void Update()
 {
     base.Update();
     mRootHander.Hander(mLv);
 }