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/NewScriptController.h

    r11165 r11167  
    5757            // tolua_begin
    5858
     59            void debugOut();
     60
     61            static NewScriptController* getNewScriptController();
     62
     63            int getID() { return ctrlid_; }
     64
     65            //tolua_end
     66
    5967            void createAndAddTask(Task newTask);
    6068
    6169        private:
    62             /* Information about the player that this ScriptController will
    63              * control */
    64             /* - Player pointer */
     70            // Information about the player that this ScriptController will
     71            // control
     72            // - Player pointer
    6573            PlayerInfo* player_;
    6674
    67             /* - Entity pointer, this is for convenience and will be the same as
    68              *   player_->getControllableEntity()
    69              */
     75            // - Entity pointer, this is for convenience and will be the same as
     76            //   player_->getControllableEntity()
    7077            ControllableEntity* entity_;
    7178
    72             /* List of events to walk through */
     79            // Controller ID, defaults to 0 and is set using takeControl()
     80            int ctrlid_;
     81
     82            // List of events to walk through
    7383            std::queue<Task>* taskList_;
    7484
    7585
    76             /*List of Tasks currently active */
     86            //List of Tasks currently active
    7787            std::vector<Task>* activeTasks_;
    7888
    79             /* Time since the creation of this ScriptController object */
     89            // Time since the creation of this ScriptController object
    8090            float scTime_; 
    8191
Note: See TracChangeset for help on using the changeset viewer.