Lots of updates - lua, narrator, logic, models
This commit is contained in:
21
src/gamedata/EventTriggerModule.h
Normal file
21
src/gamedata/EventTriggerModule.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef EVENT_TRIGGER_MODULE_H_
|
||||
#define EVENT_TRIGGER_MODULE_H_
|
||||
#include <flecs.h>
|
||||
#include <Ogre.h>
|
||||
namespace ECS
|
||||
{
|
||||
struct EventTrigger {
|
||||
Ogre::SceneNode *parent;
|
||||
Ogre::Vector3 position;
|
||||
float halfheight;
|
||||
float radius;
|
||||
Ogre::String event;
|
||||
};
|
||||
struct EventTriggerExit {
|
||||
Ogre::String event;
|
||||
};
|
||||
struct EventTriggerModule {
|
||||
EventTriggerModule(flecs::world &ecs);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user