@Override
    public void updatePosition(float delta) {
        float d=delta;
        
        position.x += velocity.x * d;
        position.y += velocity.y * d;
        setPosition(new Vector2f(position.x, position.y));
    }