Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
 public SkillMake()
 {
     _ItemFormulaLites            = new DifferenceNoticer <ItemFormulaLite>(new ItemFormulaLiteComparer());
     _ItemFormulaLites.JoinEvent += _AddFormula;
     _ItemFormulaLites.LeftEvent += _RemoveFormula;
 }
Exemplo n.º 4
0
 public SkillMake()
 {
     _ItemFormulaLites = new DifferenceNoticer<ItemFormulaLite>(new ItemFormulaLiteComparer());
     _ItemFormulaLites.JoinEvent += _AddFormula;
     _ItemFormulaLites.LeftEvent += _RemoveFormula;
 }