Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4408 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
May 31, 2005, 12:11:57 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: integrating the event handler into orxonox mainclass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r4398 r4408  
    4040#include "benchmark.h"
    4141#include "event_handler.h"
     42#include "event.h"
    4243
    4344#include <string.h>
     
    166167  localinput = new CommandNode(configfilename);
    167168
    168   EventHandler::getInstance()->test();
     169  this->eventHandler = EventHandler::getInstance();
     170  this->eventHandler->init();
    169171 
    170172  return 0;
     
    286288   \param event: an event not handled by the CommandNode
    287289*/
    288 void Orxonox::eventHandler(SDL_Event* event)
     290void Orxonox::graphicsHandler(SDL_Event* event)
    289291{
    290292  // Handle special events such as reshape, quit, focus changes
     
    316318  return false;
    317319}
     320
     321
     322void Orxonox::process(const Event &event)
     323{}
    318324
    319325/**
Note: See TracChangeset for help on using the changeset viewer.