@Override
	public void tick(final InputHandler inputHandler, final long elapsedTime) {
		if (currentBitmap == null) {
			Bitmaps bitmaps = getBitmaps();
			String globalId = getGlobalBitmapId(BMP_BOUNCING_BALL);
			currentBitmap = bitmaps.getBitmap(globalId);
		}

		if (inputHandler != null && inputHandler.isPressed(KeyEvent.VK_RIGHT)) {
			inputHandler.consume(KeyEvent.VK_RIGHT);
			accelerateX(1);
		} else if (inputHandler != null
				&& inputHandler.isPressed(KeyEvent.VK_LEFT)) {
			inputHandler.consume(KeyEvent.VK_LEFT);
			accelerateX(-1);
		} else {
			decelerateX();
		}

		if (inputHandler != null && inputHandler.isPressed(KeyEvent.VK_UP)) {
			inputHandler.consume(KeyEvent.VK_UP);
			accelerateY(-1);
		} else if (inputHandler != null
				&& inputHandler.isPressed(KeyEvent.VK_DOWN)) {
			inputHandler.consume(KeyEvent.VK_DOWN);
			accelerateY(1);
		} else {
			decelerateY();
		}

		super.tick(inputHandler, elapsedTime);
	}