2 #include "mof/EventCondition.hpp"
3 #include "mof/InputReceiver.hpp"
4 #include "boost/shared_ptr.hpp"
9 class KeyPressedEventCondition : public EventCondition{
10 mof::InputReceiver::Key m_key;
11 boost::shared_ptr<mof::InputReceiver> m_pInputReceiver;
15 KeyPressedEventCondition
17 mof::InputReceiver::Key key ,
18 const boost::shared_ptr<mof::InputReceiver>& pInputReceiver
21 virtual ~KeyPressedEventCondition();
23 virtual void update();
24 virtual bool isDisposable();