public void GoRight() { if (!isCrouch) { state.GoRight(); if (velocity.X < maxVelocity.X) { velocity.X += ValueHolder.walkingVelocity; } } isLeft = false; }