Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 29, 2009, 10:24:39 PM (15 years ago)
Author:
dafrick
Message:

Added some more comments to the tutorial.

Location:
code/branches/tutorial/src/orxonox/controllers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/src/orxonox/controllers/DroneController.cc

    r5786 r5833  
    3434namespace orxonox
    3535{
     36    /**
     37    @brief
     38        Constructor.
     39    */
    3640    DroneController::DroneController(BaseObject* creator) : Controller(creator)
    3741    {
     
    5155    }
    5256
     57    /**
     58    @brief
     59        The controlling happens here. This method defines what the controller has to do each tick.
     60    @param dt
     61        The duration of the tick.
     62    */
    5363    void DroneController::tick(float dt)
    5464    {
  • code/branches/tutorial/src/orxonox/controllers/DroneController.h

    r5766 r5833  
    3737namespace orxonox
    3838{
     39    /**
     40    @brief
     41        Controller for the Drone of the PPS tutorial.
     42    @author
     43        Oli Scheuss
     44    */
    3945    class _OrxonoxExport DroneController : public Controller, public Tickable
    4046    {
     
    4349            virtual ~DroneController();
    4450           
    45             virtual void tick(float dt);
     51            virtual void tick(float dt); //!< The controlling happens here. This method defines what the controller has to do each tick.
    4652
    4753        protected:
Note: See TracChangeset for help on using the changeset viewer.