Пример #1
0
 protected override void OnInitialize()
 {
     base.OnInitialize();
     CPComponent         = this.GetDependency <CombatPropertiesComponent>();
     SEAComponent        = Parent.GetComponent <StatusEffectPropertiesComponent>();
     AttributesComponent = this.GetDependency <AttributesComponent>();
     _Timer = TimeSpan.Zero;
 }
Пример #2
0
 protected override void OnInitialize()
 {
     base.OnInitialize();
     AttributesComponent = this.GetDependency<AttributesComponent>();
     SEAComponent = Parent.GetComponent<StatusEffectPropertiesComponent>();
     CPComponent = this.GetDependency<CombatPropertiesComponent>();
     PC = this.GetDependency<PhysicsComponent>();
 }