Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2017, 5:23:08 PM (7 years ago)
Author:
kohlia
Message:

Not working yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController_HS17/src/orxonox/scriptablecontroller/scriptable_controller_api.h

    r11519 r11549  
    2020    ~ScriptableControllerAPI();
    2121
    22     void testOutput(void);
     22    void testOutput(std::function<void(std::string)> callback);
    2323
    24     void registerAfterTimeout(std::function<void (void)> callback, int timeout_ms);
     24    void registerAfterTimeout(std::function<void (void)> callback, double timeout);
    2525    int registerAtNearObject(std::function<void(int, int)> callback, int obj1, int obj2, double distance);
    2626    int registerAtAreaEnter(std::function<void (int)> callback, int obj, int x, int y, int z, int dx, int dy, int dz);
     
    3333    int setObjectPosition(int obj, double x, double y, double z);
    3434
    35     static ScriptableControllerAPI *this_;
    36 
    3735private:
    3836    lua_State *lua_;
Note: See TracChangeset for help on using the changeset viewer.