Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 5, 2008, 9:50:26 PM (16 years ago)
Author:
rgrieder
Message:
  • getInstance is probably more suitable than getSingleton (as x3n has already done so in most of his classes) I changed it in Orxonox and GraphicsEngine. Maybe more to come.
  • Removed derivation from BaseObject in InputState (templates work well too, don't need a factory at all)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/core/input/SimpleInputState.cc

    r1642 r1653  
    3838#include "core/Debug.h"
    3939#include "core/Executor.h"
    40 #include "core/CoreIncludes.h"
    4140
    4241namespace orxonox
    4342{
    44     CreateFactory(SimpleInputState);
    45 
    4643    using namespace InputDevice;
    4744
     
    5148        , joyStickHandlerAll_(0)
    5249    {
    53         RegisterObject(SimpleInputState);
    5450    }
    5551
Note: See TracChangeset for help on using the changeset viewer.