00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef VTPlayerInputAgent_H
00024 #define VTPlayerInputAgent_H
00025
00026 #include <VTPMouseController.h>
00027 #include <VTPMouseListener.h>
00028 #include "abstractmouseinputagent.h"
00029 #include "micolelib.h"
00030
00031
00054 class MICOLELIB_API VTPlayerInputAgent : public AbstractMouseInputAgent
00055 {
00056 public:
00060 VTPlayerInputAgent();
00061 ~VTPlayerInputAgent();
00062
00063 void handleInputCoord ( MicoleBus *app, int argc, const char **argv );
00064 void handleInputPressButton ( MicoleBus *app, int argc, const char **argv );
00065 void handleInputReleaseButton ( MicoleBus *app, int argc, const char **argv );
00066
00067 virtual void onMove(const int &posx, const int &posy);
00068
00069 virtual void onButtonUp(const int &button);
00070 virtual void onButtonDown(const int &button);
00071 };
00072
00074
00076
00077 #endif