Beispiel #1
0
 protected override void OnInitializeComplete()
 {
     base.OnInitializeComplete();
     propertyComponent   = entity.GetCComponent <CPropertyComponent>();
     relationComponent   = entity.GetCComponent <CTeamComponent>();
     m_AnimatorComponent = entity.GetCComponent <CAnimatorComponent>();
     damageResist        = new DamageResist();
     damageShield        = new DamageShield();
     damageGain          = new DamageGain();
     modifyDamageMark    = new ModifyDamageMark();
     dodgeDamage         = new DodgeDamage();
     damageBlock         = new DamageBlock();
 }
 public void AddToObserver(DamageBlock block)
 {
     observer.AddToObserver(block);
 }
 public void AddToObserver(DamageBlock observer)
 {
     observers.Add(observer);
 }