src/main/java/tsz/game/model/PlayersCar.java
/**
	 * Move the car right with the value of the offset.
	 */
Move the car right with the value of the offset.
Move the car right with the value of the offset .
public void moveRight() {
		if(super.getX() < GameView.getWidth() - super.getWidth() - this.offset) {
		super.setX(super.getX() + this.offset);
		} else if (super.getX() < GameView.getWidth() - super.getWidth()) {
			super.setX(GameView.getWidth() - super.getWidth());
		}
	}
public void moveRight ( ) { if ( super . getX ( ) < GameView . getWidth ( ) - super . getWidth ( ) - this . offset ) { super . setX ( super . getX ( ) + this . offset ) ; } else if ( super . getX ( ) < GameView . getWidth ( ) - super . getWidth ( ) ) { super . setX ( GameView . getWidth ( ) - super . getWidth ( ) ) ; } }
Move the car right with the value of the offset.
Move the car right with the value of the offset .