public void render(Screen screen) {
        screen.renderSprite(animation.getCurrentSprite(), x - animation.getCurrentSprite().getWidth() / 2, y - animation.getCurrentSprite().getHeight() / 2, direction, true);
        if (level.game.showHitboxes)
            screen.drawQuad(0x0000ff, (int) getBounds().getX(), (int) getBounds().getY(), (int) getBounds().getWidth(), (int) getBounds().getHeight());
    }