class: ege::ElementInteraction


Description:



Constructor and Destructor:

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

Synopsis:

#         int32_t                      m_type;
+ int32_t getType (void );
# int32_t m_groupSource;
+ int32_t getSourceGroup (void );
# std::vector<int32_t> m_groupDestination;
+ const std::vector<int32_t> & getDestinationGroup (void );
+ void addGroupDestination (int32_t _id);
# vec3 m_positionSource;
+ const vec3 & getSourcePosition (void );
+ virtual void applyEvent (ege::ElementGame & _element);

Detail:

m_type

# int32_t m_type;



getType

+ int32_t getType (void );



m_groupSource

# int32_t m_groupSource;



getSourceGroup

+ int32_t getSourceGroup (void );



m_groupDestination

# std::vector<int32_t> m_groupDestination;



getDestinationGroup

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



addGroupDestination

+ void addGroupDestination (int32_t _id);



m_positionSource

# vec3 m_positionSource;



getSourcePosition

+ const vec3 & getSourcePosition (void );



ElementInteraction

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



applyEvent

+ virtual void applyEvent (ege::ElementGame & _element);