Changeset 4350 in orxonox.OLD for orxonox/trunk/src/util/event/event.h
- Timestamp:
- May 28, 2005, 12:27:29 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/event/event.h
r4346 r4350 7 7 #ifndef _EVENT_H 8 8 #define _EVENT_H 9 10 #define CMD_LENGHT 16 9 11 10 12 #include "base_object.h" … … 18 20 virtual ~Event(); 19 21 22 23 private: 24 int offset; //!< offset in the event type array 25 char cmd[CMD_LENGHT]; //!< the command delivered 26 bool bPressed; //!< is true, if the button/mouse was pressed, false if released 27 28 Uint16 x, y; //!< x and y coordinates 29 Sint16 xRel, yRel; //!< relative x and y movement to last point 30 20 31 }; 21 32
Note: See TracChangeset
for help on using the changeset viewer.