@Override
    public void update(int delta) {
        if(currentBehaviour!= null)
        this.currentBehaviour.update(delta);
        if (Keyboard.isKeyDown(Keyboard.KEY_W)) {
            addY(-getMoveSpeed());
        }

        if (Keyboard.isKeyDown(Keyboard.KEY_A)) {
            addX(-getMoveSpeed());
        }

        if (Keyboard.isKeyDown(Keyboard.KEY_S)) {
            addY(getMoveSpeed());
        }

        if (Keyboard.isKeyDown(Keyboard.KEY_D)) {
            addX(getMoveSpeed());
        }
    }