Changeset 11552 for code/branches/ScriptableController_HS17/src/orxonox/scriptablecontroller/scriptable_controller_api.cc
- Timestamp:
- Nov 7, 2017, 7:26:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController_HS17/src/orxonox/scriptablecontroller/scriptable_controller_api.cc
r11549 r11552 1 1 2 2 #include "scriptable_controller_api.h" 3 #include <chrono>4 #include "lua.hpp"5 3 #include "luatb.h" 6 4 #include "scriptable_controller.h" … … 30 28 void ScriptableControllerAPI::registerAfterTimeout(std::function<void (void)> callback, double timeout) 31 29 { 30 // TODO Extend timer class to accept std::function 32 31 this->controller_->registerTimeout(callback, timeout); 33 32 } … … 35 34 int ScriptableControllerAPI::registerAtNearObject(std::function<void (int, int)> callback, int obj1, int obj2, double distance) 36 35 { 37 orxout(user_warning) << "Working!" << std::endl; 36 38 37 } 39 38
Note: See TracChangeset
for help on using the changeset viewer.