Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2009, 10:26:40 PM (15 years ago)
Author:
rgrieder
Message:

Another clean up in core/input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/core/input/ExtendedInputState.cc

    r2896 r3148  
    3636
    3737#include <cassert>
    38 #include "util/Debug.h"
     38#include "core/Executor.h"
    3939
    4040namespace orxonox
     
    457457        this->bHandlersChanged_ = true;
    458458    }
     459
     460    void ExtendedInputState::onEnter()
     461    {
     462        if (executorOnEnter_)
     463            (*executorOnEnter_)();
     464    }
     465
     466    void ExtendedInputState::onLeave()
     467    {
     468        if (executorOnLeave_)
     469            (*executorOnLeave_)();
     470    }
    459471}
Note: See TracChangeset for help on using the changeset viewer.