Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 19, 2016, 5:34:38 PM (8 years ago)
Author:
plehmann
Message:

modified newScriptController to prevent memory leacks caused by tasks

File:
1 edited

Legend:

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

    r11183 r11190  
    3232#include "infos/PlayerInfo.h"
    3333#include "tools/interfaces/Tickable.h"
    34 #include "core/class/OrxonoxClass.h"
     34//#include "core/class/OrxonoxClass.h"
     35#include "core/BaseObject.h"
    3536
    3637namespace orxonox
    3738{
    38     class _OrxonoxExport Task : public OrxonoxClass {
     39    class _OrxonoxExport Task : public BaseObject {
    3940   
    4041        public:
     
    4647
    4748            //important return true while the task is running and false to stop it!!!
    48             virtual bool update(float dt);
     49            virtual bool update(float dt) {return false;}
    4950
    5051            float getStartTime()
Note: See TracChangeset for help on using the changeset viewer.