Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 12, 2016, 3:28:30 PM (8 years ago)
Author:
plehmann
Message:

moved the task classes to the scriptTasks folder. modified the NewScriptController to execute tasks when their time has come modified the tasks so that they tell the controller when they are done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/plehmannFS16/src/orxonox/controllers/NewScriptController.h

    r11178 r11183  
    3030#define _NewScriptController_H__
    3131
    32 #include "DebugTask.h"
    33 #include "stringOutTask.h"
    34 #include "Task.h"
     32#include "scriptTasks/DebugTask.h"
     33#include "scriptTasks/stringOutTask.h"
     34#include "scriptTasks/Task.h"
    3535#include "OrxonoxPrereqs.h"                 /* die ganzen tolua, kopiert aus Dock.h*/
    3636#include "ArtificialController.h"
     
    8484            int ctrlid_;
    8585
    86             // List of events to walk through
    87             std::queue<Task*> taskQueue_;
     86            // List of events to walk through sorted by starting times
     87            std::list<Task*> taskList_;
    8888
    8989
Note: See TracChangeset for help on using the changeset viewer.