Beispiel #1
0
 override public void update()
 {
     base.update();
     for (int i = 0, len = this._parts.Count; i < len; i++)
     {
         PartAction part = this._parts[i];
         if (null != part)
         {
             if (part.isFinish)
             {
                 part.checkDead();
                 this.removePart(part.position);
                 this.dispatchEventWith(EventConstant.PART_CHANGE);
             }
             else
             {
                 part.update();
             }
         }
     }
 }