- Timestamp:
- Apr 14, 2016, 4:03:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/plehmannFS16/src/orxonox/controllers/NewScriptController.h
r11165 r11167 57 57 // tolua_begin 58 58 59 void debugOut(); 60 61 static NewScriptController* getNewScriptController(); 62 63 int getID() { return ctrlid_; } 64 65 //tolua_end 66 59 67 void createAndAddTask(Task newTask); 60 68 61 69 private: 62 / *Information about the player that this ScriptController will63 * control */64 / * - Player pointer */70 // Information about the player that this ScriptController will 71 // control 72 // - Player pointer 65 73 PlayerInfo* player_; 66 74 67 /* - Entity pointer, this is for convenience and will be the same as 68 * player_->getControllableEntity() 69 */ 75 // - Entity pointer, this is for convenience and will be the same as 76 // player_->getControllableEntity() 70 77 ControllableEntity* entity_; 71 78 72 /* List of events to walk through */ 79 // Controller ID, defaults to 0 and is set using takeControl() 80 int ctrlid_; 81 82 // List of events to walk through 73 83 std::queue<Task>* taskList_; 74 84 75 85 76 / *List of Tasks currently active */86 //List of Tasks currently active 77 87 std::vector<Task>* activeTasks_; 78 88 79 / * Time since the creation of this ScriptController object */89 // Time since the creation of this ScriptController object 80 90 float scTime_; 81 91
Note: See TracChangeset
for help on using the changeset viewer.