@Override
    public void update(GameObject object) {

        if(keyboard.keyDown(KeyEvent.VK_UP)) {
            object.y -= 2;
        }
        if(keyboard.keyDown(KeyEvent.VK_DOWN)) {
            object.y += 2;
        }
        if(keyboard.keyDown(KeyEvent.VK_LEFT)) {
            object.x -= 2;
        }
        if(keyboard.keyDown(KeyEvent.VK_RIGHT)) {
            object.x += 2;
        }
    }