Ejemplo n.º 1
0
        protected virtual void healthSysNewEventNodeHandler(test.NewEventNode data, healthComp clickedentity)
        {
            var handler = healthSysNewEventNodeHandlerInstance;

            handler.System        = this;
            handler.Event         = data;
            handler.clickedEntity = clickedentity;
            handler.Execute();
        }
Ejemplo n.º 2
0
 public override bool Match(int entityId)
 {
     lastEntityId = entityId;
     if ((playerComp = playerCompManager[entityId]) == null)
     {
         return(false);
     }
     if ((healthComp = healthCompManager[entityId]) == null)
     {
         return(false);
     }
     return(true);
 }