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); }
public Sakazaki_Idle(Sakazaki_BehaviorScript behaviorScript) : base(behaviorScript._animationHandler) { _owner = behaviorScript._owner; _behaviorScript = behaviorScript; _body = behaviorScript._body; BehaviorFunctions += CheckIdle; BehaviorFunctions += CheckCollision; }
public Sakazaki_Knockdown(Sakazaki_BehaviorScript behaviorScript) : base(behaviorScript._animationHandler) { _behaviorScript = behaviorScript; _owner = behaviorScript._owner; _body = behaviorScript._body; _blinkout = new Blinkout(); BehaviorFunctions += Animate; }