Orxonox
0.0.5 Codename: Arcturus
|
Groups everything together that is needed to handle a near-object event. More...
Public Member Functions | |
NearObjectHandler (WorldEntity *entity1, WorldEntity *entity2, std::string id1, std::string id2, double distance, std::function< void(std::string, std::string)> callback) | |
Public Attributes | |
std::function< void(std::string, std::string)> | callback_ |
double | distance_ |
WorldEntity * | entity1_ |
WorldEntity * | entity2_ |
std::string | id1_ |
std::string | id2_ |
Groups everything together that is needed to handle a near-object event.
|
inline |
std::function<void (std::string, std::string)> orxonox::ScriptableControllerAPI::NearObjectHandler::callback_ |
double orxonox::ScriptableControllerAPI::NearObjectHandler::distance_ |
WorldEntity* orxonox::ScriptableControllerAPI::NearObjectHandler::entity1_ |
WorldEntity * orxonox::ScriptableControllerAPI::NearObjectHandler::entity2_ |
std::string orxonox::ScriptableControllerAPI::NearObjectHandler::id1_ |
std::string orxonox::ScriptableControllerAPI::NearObjectHandler::id2_ |