Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 26, 2013, 11:43:43 PM (12 years ago)
Author:
landauf
Message:

interfaces which are part of the framework and only rely on the object list for calling all instances may inherit from Listable

Location:
code/branches/core6/src/libraries/core/input
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/input/InputManager.cc

    r9578 r9589  
    642642        assert(state && this->activeStates_.find(state->getPriority()) == this->activeStates_.end());
    643643        statesByName_.erase(state->getName());
    644         state->destroy();
     644        delete state;
    645645    }
    646646
  • code/branches/core6/src/libraries/core/input/JoyStickQuantityListener.h

    r9563 r9589  
    3838
    3939#include <vector>
    40 #include "core/class/OrxonoxClass.h"
     40#include "core/object/Listable.h"
    4141
    4242namespace orxonox
    4343{
    4444    //! Derive from this class to get informed when joy sticks get added/removed
    45     class _CoreExport JoyStickQuantityListener : virtual public OrxonoxClass
     45    class _CoreExport JoyStickQuantityListener : virtual public Listable
    4646    {
    4747        friend class InputManager;
Note: See TracChangeset for help on using the changeset viewer.