@Override
    public void keyPressed(int key, char character, GUIComponent component) {
        switch (key) {
            case (Keyboard.KEY_ESCAPE) : {
                this.deactivate();
                Game.linkedGet().resumePlay();
                break;
            }
            case (Keyboard.KEY_RETURN) : {
                this.deactivate();
                Game.linkedGet().resumePlay();
                break;
            }
        }
    }