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

Groups everything together that is needed to handle a near-poinb event. More...

Public Member Functions

 NearPointHandler (WorldEntity *entity, std::string id, double x, double y, double z, double distance, std::function< void(std::string)> callback)
 

Public Attributes

std::function< void(std::string)> callback_
 
double distance_
 
WorldEntityentity_
 
std::string id_
 
Vector3 point_
 

Detailed Description

Groups everything together that is needed to handle a near-poinb event.

Constructor & Destructor Documentation

orxonox::ScriptableControllerAPI::NearPointHandler::NearPointHandler ( WorldEntity entity,
std::string  id,
double  x,
double  y,
double  z,
double  distance,
std::function< void(std::string)>  callback 
)
inline

Member Data Documentation

std::function<void (std::string)> orxonox::ScriptableControllerAPI::NearPointHandler::callback_
double orxonox::ScriptableControllerAPI::NearPointHandler::distance_
WorldEntity* orxonox::ScriptableControllerAPI::NearPointHandler::entity_
std::string orxonox::ScriptableControllerAPI::NearPointHandler::id_
Vector3 orxonox::ScriptableControllerAPI::NearPointHandler::point_

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