- Timestamp:
- May 6, 2014, 4:02:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController/src/orxonox/controllers/ScriptController.cc
r10038 r10045 30 30 #include "core/CoreIncludes.h" 31 31 #include "worldentities/ControllableEntity.h" 32 #include "core/LuaState.h" 32 33 #include <cmath> 33 34 … … 64 65 } 65 66 67 ScriptController* ScriptController::getScriptController() 68 { 69 orxout() << "Great success!" << std::endl; 70 for(ObjectList<ScriptController>::iterator it = 71 ObjectList<ScriptController>::begin(); 72 it != ObjectList<ScriptController>::end(); ++it) 73 { 74 // TODO: do some selection here. Currently just returns the first one 75 return *it; 76 77 } 78 return NULL; 79 } 80 81 82 66 83 void ScriptController::moveToPosition_beta(float x, float y, float z ) 67 84 {
Note: See TracChangeset
for help on using the changeset viewer.