Beispiel #1
0
        public override IEnumerable <AGameEvent> Do(Contracts.GameObject.AGameObject obj, List <Contracts.GameObject.AGameObject> newObjects, long time)
        {
            var res = base.Do(obj, newObjects, time);

            Wait = 0;
            return(res);
        }
Beispiel #2
0
 public override IEnumerable <AGameEvent> OnDead(Contracts.GameObject.AGameObject obj, List <Contracts.GameObject.AGameObject> newObjects, long time)
 {
     if (_parent != null && _parent.IsActive)
     {
         _parent._child = null;
     }
     return(base.OnDead(obj, newObjects, time));
 }