private Entity() { _Datas = Resource.Instance.SkillDatas; this._Id = Guid.NewGuid(); this._BaseView = 30.0f; _DetectionRange = 1.0f ; _SignRoster = new SignRoster(); _CollideTargets = new DifferenceNoticer<IIndividual>(); _SkillOffsetVector = new Vector2(); _BaseSpeed = 1.0f; _MaxHealth = 10f; Equipment = new Equipment(this); Equipment.AddEvent += _BroadcastEquipEvent; Equipment.RemoveEvent += _BroadcastEquipEvent; _Status = ACTOR_STATUS_TYPE.NORMAL_IDLE; }
private Entity() { _Datas = Resource.Instance.SkillDatas; this._Id = Guid.NewGuid(); this._BaseView = 30.0f; _DetectionRange = 1.0f; _SignRoster = new SignRoster(); _CollideTargets = new DifferenceNoticer <IIndividual>(); _SkillOffsetVector = new Vector2(); _BaseSpeed = 1.0f; _MaxHealth = 10f; Equipment = new Equipment(this); Equipment.AddEvent += _BroadcastEquipEvent; Equipment.RemoveEvent += _BroadcastEquipEvent; _Status = ACTOR_STATUS_TYPE.NORMAL_IDLE; }
public SkillMake() { _ItemFormulaLites = new DifferenceNoticer <ItemFormulaLite>(new ItemFormulaLiteComparer()); _ItemFormulaLites.JoinEvent += _AddFormula; _ItemFormulaLites.LeftEvent += _RemoveFormula; }
public SkillMake() { _ItemFormulaLites = new DifferenceNoticer<ItemFormulaLite>(new ItemFormulaLiteComparer()); _ItemFormulaLites.JoinEvent += _AddFormula; _ItemFormulaLites.LeftEvent += _RemoveFormula; }