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/ExtendedInputState.cc

    r1642 r1653  
    3737#include <assert.h>
    3838#include "core/Debug.h"
    39 #include "core/CoreIncludes.h"
    4039
    4140namespace orxonox
    4241{
    43     CreateFactory(ExtendedInputState);
    44 
    4542    using namespace InputDevice;
    46 
    47     ExtendedInputState::ExtendedInputState()
    48     {
    49         RegisterObject(ExtendedInputState);
    50     }
    5143
    5244    void ExtendedInputState::numberOfJoySticksChanged(unsigned int n)
Note: See TracChangeset for help on using the changeset viewer.