@Override
    public boolean onKeyDown(int key) {
        if(super.onKeyDown(key)) {
            return true;
        }
        
        if(key == Keyboard.KEY_ESCAPE) {
            Application.get().getEventManager().queueEvent(new GameStateChangeEvent(GameLogic.GameState.PLAYING));
            return true;
        }
        
        return false;
    }