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/Task.cc

    r11165 r11167  
    3131
    3232#include "infos/PlayerInfo.h"
    33 #include "controllers/ArtificialController.h"
     33//#include "controllers/ArtificialController.h"
    3434#include "tools/interfaces/Tickable.h"
    3535
     
    3939    RegisterClass(Task);
    4040
    41     Task::Task() : isRunning_(false)
     41    Task::Task(Context* context) : isRunning_(false)
    4242    {
    4343        RegisterObject(Task);
     44        startTime_ = -1;
     45    }
     46    Task::~Task()
     47    {
     48
     49    }
     50/*
     51    Task::initialize(float startTime)
     52    {
     53        startTime_ = startTime;
     54    }
     55*/
     56    void Task::tick(float dt)
     57    {
     58
    4459    }
    4560
    46    
    47 
    4861}
Note: See TracChangeset for help on using the changeset viewer.