Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4350 in orxonox.OLD for orxonox/trunk/src/util/event/event.h


Ignore:
Timestamp:
May 28, 2005, 12:27:29 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: event class members defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/event/event.h

    r4346 r4350  
    77#ifndef _EVENT_H
    88#define _EVENT_H
     9
     10#define CMD_LENGHT 16
    911
    1012#include "base_object.h"
     
    1820  virtual ~Event();
    1921
     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
    2031};
    2132
Note: See TracChangeset for help on using the changeset viewer.