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

    r1887 r3148  
    3434
    3535#include "SimpleInputState.h"
     36#include "core/Executor.h"
    3637
    3738namespace orxonox
     
    148149        bHandlersChanged_ = true;
    149150    }
     151
     152    void SimpleInputState::onEnter()
     153    {
     154        if (executorOnEnter_)
     155            (*executorOnEnter_)();
     156    }
     157
     158    void SimpleInputState::onLeave()
     159    {
     160        if (executorOnLeave_)
     161            (*executorOnLeave_)();
     162    }
    150163}
Note: See TracChangeset for help on using the changeset viewer.