Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 10, 2016, 8:01:09 PM (9 years ago)
Author:
landauf
Message:

removed empty tick functions

Location:
code/branches/cpp11_v3/src/orxonox/controllers
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v3/src/orxonox/controllers/DivisionController.cc

    r11057 r11058  
    5555        this->actionpoints_.clear();
    5656    }
    57     void DivisionController::tick(float dt)
    58     {   
    59         if (!this->isActive())
    60             return;   
    61        
    62         SUPER(DivisionController, tick, dt);
    63        
    64     }
    6557    void DivisionController::action()
    6658    {   
  • code/branches/cpp11_v3/src/orxonox/controllers/DivisionController.h

    r11057 r11058  
    5050            //----[/language demanded functions]----           
    5151
    52             //----[orxonox demanded functions]----
    53                 virtual void tick(float dt);
    54             //----[orxonox demanded functions]----
    55 
    5652            //----[own functions]----
    5753                virtual bool setFollower(ActionpointController* newFollower);
  • code/branches/cpp11_v3/src/orxonox/controllers/SectionController.cc

    r11057 r11058  
    5555        this->parsedActionpoints_.clear();
    5656        this->actionpoints_.clear();
    57     }
    58 
    59     //----in tick, move (or look) and shoot----
    60     void SectionController::tick(float dt)
    61     {
    62         if (!this->isActive())
    63             return;
    64    
    65         SUPER(SectionController, tick, dt);
    66        
    6757    }
    6858
  • code/branches/cpp11_v3/src/orxonox/controllers/SectionController.h

    r11057 r11058  
    4949            //----[/language demanded functions]----
    5050           
    51             //----[orxonox demanded functions]----
    52                 virtual void tick(float dt);
    53             //----[/orxonox demanded functions]----
    54            
    5551            //----[own functions]----
    5652                ActionpointController* findNewDivisionLeader();
  • code/branches/cpp11_v3/src/orxonox/controllers/WingmanController.cc

    r11057 r11058  
    5353        this->parsedActionpoints_.clear();
    5454        this->actionpoints_.clear();
    55     }
    56  
    57     //----in tick, move (or look) and shoot----
    58     void WingmanController::tick(float dt)
    59     {   
    60         if (!this->isActive())
    61             return;
    62        
    63         SUPER(WingmanController, tick, dt);
    64 
    6555    }
    6656   
  • code/branches/cpp11_v3/src/orxonox/controllers/WingmanController.h

    r11057 r11058  
    5151           
    5252            //----[orxonox demanded functions]----
    53                 virtual void tick(float dt);
    5453                virtual bool hasWingman()
    5554                    { return false; }
Note: See TracChangeset for help on using the changeset viewer.