@Override
    public void update(double deltaTime) {
        desiredPosition = position.plus(controls.desiredMove());
        rechargeTimeRemaining -= deltaTime;
        if (controls.shouldFire()){
            if (rechargeTimeRemaining <= 0){
                Vector2f spawnLocation = position.plus(size.x()/2, 0);
                world.spawnEntity(spawner, spawnLocation);
                rechargeTimeRemaining = rechargeTime;
            }
        }
    }