public PlayerWalkState(Tom tom, Animation animationLeft, Animation animationRight) : base(tom, animationLeft, animationRight) { }
public PlayerJumpState(Tom tom, Animation animationLeft, Animation animationRight) : base(tom, animationLeft, animationRight) { animationLeft.Handler = new Animation.OnFinish(SwitchToFallingAnimation); animationRight.Handler = new Animation.OnFinish(SwitchToFallingAnimation); }
public PlayerFallingState(Tom tom, Animation animationLeft, Animation animationRight) : base(tom, animationLeft, animationRight) { }
public PlayerState(Tom tom, Animation animationLeft, Animation animationRight) { this.tom = tom; this.animationLeft = animationLeft; this.animationRight = animationRight; }
public PlayerWalkStopState(Tom tom, Animation animationLeft, Animation animationRight) : base(tom, animationLeft, animationRight) { animationLeft.Handler = new Animation.OnFinish(SwitchToIdleAnimation); animationRight.Handler = new Animation.OnFinish(SwitchToIdleAnimation); }
public PlayerHangingState2(Tom tom, Animation animationLeft, Animation animationRight) : base(tom, animationLeft, animationRight) { }