public void playerKeyPress(int down, int up, int right, int left, int bomb) {
        if (Keyboard.isKeyDown(down)) {
            update(Direction.DOWN);
            xOffset = 0.0f;
        }
        if (Keyboard.isKeyDown(up)) {
            update(Direction.UP);
            xOffset = 0.25f;
        }
        if (Keyboard.isKeyDown(right)) {
            update(Direction.RIGHT);
            xOffset = 0.50f;
        }
        if (Keyboard.isKeyDown(left)) {
            update(Direction.LEFT);
            xOffset = 0.75f;
        }
        if (Keyboard.isKeyDown(bomb)) {
            placeBomb();
        }
    }