2010-07-28 18:02:12 +02:00
|
|
|
#ifndef EVENTSBASE_H
|
|
|
|
#define EVENTSBASE_H
|
|
|
|
|
|
|
|
// #include "Module.h"
|
|
|
|
|
|
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
|
2010-12-01 10:18:45 +01:00
|
|
|
#include "mathlib.h"
|
2010-07-28 18:02:12 +02:00
|
|
|
|
|
|
|
namespace Engine {
|
|
|
|
|
|
|
|
/** \brief Contains all information relevant to the Event */
|
|
|
|
struct EventBase {
|
|
|
|
int mEventType;
|
|
|
|
|
|
|
|
/** \brief This might later be used for de-/serializing of the event data */
|
|
|
|
std::string mEventData;
|
|
|
|
float mEventFloat;
|
|
|
|
int mEventInt;
|
|
|
|
unsigned int mEventUnsignedInt;
|
2010-12-01 10:18:45 +01:00
|
|
|
vector3d mVector3d;
|
|
|
|
|
2010-07-28 18:02:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef boost::shared_ptr<EventBase> EventBasePtr;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* EVENTSBASE_H */
|