- Timestamp:
- Apr 14, 2016, 4:03:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/plehmannFS16/src/orxonox/controllers/ControllerDirector.cc
r11071 r11167 6 6 7 7 #include "ControllerDirector.h" 8 #include " ScriptController.h"8 #include "NewScriptController.h" 9 9 #include "core/CoreIncludes.h" 10 10 … … 64 64 { 65 65 /* Output a message confirming that the function was called */ 66 orxout( verbose)<<"test takecontrol."<< endl;66 orxout()<<"test takecontrol."<< endl; 67 67 68 68 /* First, we set up a new controller to attach to the unit that … … 74 74 { 75 75 /* Create a scriptcontroller object */ 76 ScriptController *newctrl = newScriptController(this->context_);76 NewScriptController *newctrl = new NewScriptController(this->context_); 77 77 78 78 /* Make the player we were given its slave */ … … 112 112 this->player_ = nullptr; 113 113 114 orxout( verbose) << "Preparation to take Control!" << endl;114 orxout() << "Preparation to take Control!" << endl; 115 115 116 116 // Check whether it is a player trigger and extract pawn from it … … 125 125 else 126 126 { 127 orxout( verbose) << "ControllerDirector::preparationToTakeControl "127 orxout() << "ControllerDirector::preparationToTakeControl " 128 128 << "Not a player trigger, can't extract pawn from it.." << endl; 129 129 return false;
Note: See TracChangeset
for help on using the changeset viewer.