public void update() {
        if (Game.keys.isDown(KeyEvent.VK_RIGHT))
            pos.x += 5;
        else if (Game.keys.isDown(KeyEvent.VK_LEFT))
            pos.x -= 5;
        else if (Game.keys.isDown(KeyEvent.VK_DOWN))
            pos.y += 5;
        else if (Game.keys.isDown(KeyEvent.VK_UP))
            pos.y -= 5;
        if (pos.x < 0 || pos.x > Game.WIDTH || pos.y < 0 || pos.y > Game.HEIGHT) {

        }

    }