예제 #1
0
            public DieState m_cDieState;           //死亡状态

            public StateWrap(GfxObject obj)
            {
                this.m_cIdleState     = new IdleState(obj);
                this.m_cAttackState   = new AttackState(obj);
                this.m_cMoveState     = new MoveState(obj);
                this.m_cMoveBackState = new MoveBackState(obj);
                this.m_cHurtState     = new HurtState(obj);
                this.m_cSkillState    = new SkillState(obj);
                this.m_cDieState      = new DieState(obj);
            }
예제 #2
0
            public SkillState m_cSkillState; //技能状态

            #endregion Fields

            #region Constructors

            public StateWrap(GfxObject obj)
            {
                this.m_cIdleState = new IdleState(obj);
                this.m_cAttackState = new AttackState(obj);
                this.m_cMoveState = new MoveState(obj);
                this.m_cMoveBackState = new MoveBackState(obj);
                this.m_cHurtState = new HurtState(obj);
                this.m_cSkillState = new SkillState(obj);
                this.m_cDieState = new DieState(obj);
            }