/* orxonox - the future of 3D-vertical-scrollers Copyright (C) 2004 orx This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ### File Specific: main-programmer: Benjamin Grauer co-programmer: ... */ //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY #include "glgui_handler.h" #include "event_handler.h" using namespace std; /** * standard constructor */ GLGuiHandler::GLGuiHandler () { this->setClassID(CL_GLGUI_HANDLER, "GLGuiHandler"); this->setName("GLGuiHandler"); } /** * the singleton reference to this class */ GLGuiHandler* GLGuiHandler::singletonRef = NULL; /** @brief standard deconstructor */ GLGuiHandler::~GLGuiHandler () { GLGuiHandler::singletonRef = NULL; } void GLGuiHandler::activate() { EventHandler::getInstance()->pushState(ES_MENU); } void GLGuiHandler::deactivate() { EventHandler::getInstance()->popState(); } void GLGuiHandler::process(const Event &event) { }