Exemplo n.º 1
0
    public CSceneEntity()
    {
        m_nAttr         = new int[(int)ERoleAttribute.ERA_End];
        m_nbaseAttr     = new int[(int)ERoleAttribute.ERA_End];
        m_nAttMod       = new int[(int)ERoleAttribute.ERA_End];
        m_nAttModPct    = new int[(int)ERoleAttribute.ERA_End];
        m_bAttRecalFlag = new bool[(int)ERoleAttribute.ERA_End];
        m_AnimCtrl      = null;
        m_combat        = new CombatHandler();
        m_combat.InitCombat(this);

        asset           = new CEntiyScene();
        asset.LoaderObj = this;
        m_StateMgr      = new CEntityState();
        m_mapSkill      = new Dictionary <uint, CSkill> ();
    }