Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Public Attributes | List of all members
orxonox::ScriptableControllerAPI::AreaHandler Struct Reference

Groups everything together that is needed to handle an area enter/leave event. More...

Public Member Functions

 AreaHandler (WorldEntity *entity, std::string id, double x, double y, double z, double dx, double dy, double dz, bool atEnter, std::function< void(std::string)> callback)
 

Public Attributes

bool atEnter_
 
std::function< void(std::string)> callback_
 
Vector3 end_point_
 
WorldEntityentity_
 
std::string id_
 
Vector3 start_point_
 

Detailed Description

Groups everything together that is needed to handle an area enter/leave event.

Constructor & Destructor Documentation

orxonox::ScriptableControllerAPI::AreaHandler::AreaHandler ( WorldEntity entity,
std::string  id,
double  x,
double  y,
double  z,
double  dx,
double  dy,
double  dz,
bool  atEnter,
std::function< void(std::string)>  callback 
)
inline

Member Data Documentation

bool orxonox::ScriptableControllerAPI::AreaHandler::atEnter_
std::function<void (std::string)> orxonox::ScriptableControllerAPI::AreaHandler::callback_
Vector3 orxonox::ScriptableControllerAPI::AreaHandler::end_point_
WorldEntity* orxonox::ScriptableControllerAPI::AreaHandler::entity_
std::string orxonox::ScriptableControllerAPI::AreaHandler::id_
Vector3 orxonox::ScriptableControllerAPI::AreaHandler::start_point_

The documentation for this struct was generated from the following file: