Esempio n. 1
0
    private bool ContainsAnimationState(int state)
    {
        var plyCtl = this.PlyStateCtl;

        if (plyCtl == null)
        {
            return(false);
        }
        IState <PlayerState, PlayerStateMgr> st;

        if (StateMgr <PlayerState, PlayerStateMgr> .FindState((PlayerState)state, out st) && st != null)
        {
            return(true);
        }
        return(false);
    }