public CrouchIdleState(OnCrouchState parentState) { this.parentState = parentState; }
public CrouchWalkState(OnCrouchState parentState) { this.parentState = parentState; }
public OnGroundState() { onStandState = new OnStandState(this); onCrouchState = new OnCrouchState(this); TransitionState(onStandState, null); }