Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11911


Ignore:
Timestamp:
Apr 26, 2018, 3:59:49 PM (7 years ago)
Author:
adamc
Message:

scriptablecontroller trying to fix the spawning of objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController_FS18/src/orxonox/scriptablecontroller/scriptable_controller_api.cc

    r11902 r11911  
    6363    }
    6464
     65    //void ScriptableControllerAPI::registerPeriodically(std::function<void (void)> callback, double timeout)
     66    //{
     67    //    // Kills itself when the timer fires
     68    //    new Timer(timeout, false, callback, true);
     69    //}
     70
     71
     72
     73
     74
     75
     76
     77
    6578    void ScriptableControllerAPI::registerAtNearObject(std::function<void (std::string, std::string)> callback, std::string id1, std::string id2, double distance)
    6679    {
     
    148161            // yet at this stage.
    149162    //        entity = orxonox_cast<PlayerInfo*>(obj)->getControllableEntity();
     163
     164
     165            //use TEMPLATES in the map to define objects that are not present on the map yet
    150166            return;
    151167        }
Note: See TracChangeset for help on using the changeset viewer.