Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 14, 2016, 4:03:16 PM (8 years ago)
Author:
plehmann
Message:

changed the NewScriptController and Task classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/plehmannFS16/src/orxonox/controllers/ControllerDirector.cc

    r11071 r11167  
    66
    77#include "ControllerDirector.h"
    8 #include "ScriptController.h"
     8#include "NewScriptController.h"
    99#include "core/CoreIncludes.h"
    1010
     
    6464    {
    6565       /* Output a message confirming that the function was called */
    66        orxout(verbose)<<"test takecontrol."<< endl;
     66       orxout()<<"test takecontrol."<< endl;
    6767
    6868       /* First, we set up a new controller to attach to the unit that
     
    7474       {
    7575         /* Create a scriptcontroller object */
    76          ScriptController *newctrl = new ScriptController(this->context_);
     76         NewScriptController *newctrl = new NewScriptController(this->context_);
    7777
    7878         /* Make the player we were given its slave */
     
    112112        this->player_ = nullptr;
    113113
    114         orxout(verbose) << "Preparation to take Control!" << endl;
     114        orxout() << "Preparation to take Control!" << endl;
    115115
    116116        // Check whether it is a player trigger and extract pawn from it
     
    125125        else
    126126        {
    127             orxout(verbose) << "ControllerDirector::preparationToTakeControl "
     127            orxout() << "ControllerDirector::preparationToTakeControl "
    128128              << "Not a player trigger, can't extract pawn from it.." << endl;
    129129            return false;
Note: See TracChangeset for help on using the changeset viewer.