Example #1
0
        public static HealthRecoveryTrigger alloc(HealthRecoveryData p_healthRecoveryData)
        {
            HealthRecoveryTrigger l_instance = new HealthRecoveryTrigger();

            l_instance.HealthRecoveryData = p_healthRecoveryData;
            return(l_instance);
        }
Example #2
0
        public static HealthRecoveryEvent alloc(Entity p_targetEntity, HealthRecoveryTrigger p_healthRecoveryComponent)
        {
            HealthRecoveryEvent l_instance = new HealthRecoveryEvent();

            l_instance.TargetEntity            = p_targetEntity;
            l_instance.HealthRecoveryComponent = p_healthRecoveryComponent;
            return(l_instance);
        }
Example #3
0
 public override void Initialize(Entity p_entity, RuntimeObjectRootComponent p_runtimeObjectRootComponent)
 {
     EntityComponent.add_component <HealthRecoveryTrigger>(p_entity, HealthRecoveryTrigger.alloc(HealthRecoveryData));
 }