示例#1
0
        public Sakazaki_BehaviorScript(Sakazaki owner)
        {
            _owner            = owner;
            _body             = owner.Body;
            _animationHandler = owner.AnimationHandler;

            _FA_Idle      = new Sakazaki_Idle(this);
            _FA_knockdown = new Sakazaki_Knockdown(this);
        }
示例#2
0
            public Sakazaki_Idle(Sakazaki_BehaviorScript behaviorScript) : base(behaviorScript._animationHandler)
            {
                _owner          = behaviorScript._owner;
                _behaviorScript = behaviorScript;
                _body           = behaviorScript._body;

                BehaviorFunctions += CheckIdle;
                BehaviorFunctions += CheckCollision;
            }
示例#3
0
            public Sakazaki_Knockdown(Sakazaki_BehaviorScript behaviorScript) : base(behaviorScript._animationHandler)
            {
                _behaviorScript = behaviorScript;
                _owner          = behaviorScript._owner;
                _body           = behaviorScript._body;

                _blinkout = new Blinkout();

                BehaviorFunctions += Animate;
            }