Class: ege::ElementInteraction


Synopsis:

+  int32_t                       getType              (void);
+ int32_t getSourceGroup (void);
+ const std::vector<int32_t> & getDestinationGroup (void);
+ void addGroupDestination (int32_t _id);
+ const vec3 & getSourcePosition (void);
+ ElementInteraction (int32_t _type,
int32_t _groupSource,
const vec3 & _pos);
+ void applyEvent (ege::ElementGame & _element);

Detail:

getType ()

int32_t getType(void);



getSourceGroup ()

int32_t getSourceGroup(void);



getDestinationGroup ()

const std::vector<int32_t> & getDestinationGroup(void);



addGroupDestination ()

void addGroupDestination(int32_t _id);



getSourcePosition ()

const vec3 & getSourcePosition(void);



ege::ElementInteraction ()

ElementInteraction(int32_t _type,
                   int32_t _groupSource,
                   const vec3 & _pos);



applyEvent ()

void applyEvent(ege::ElementGame & _element);