Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 8, 2014, 4:04:53 PM (11 years ago)
Author:
muemart
Message:

Delete the old turret templates and make new ones. Adjust the weapon positions for the turret. Add a proxy controller for teams and targets. Add comments

Location:
code/branches/turretFS14/src/modules/objects/controllers
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/turretFS14/src/modules/objects/controllers/CMakeLists.txt

    r10008 r10049  
    11ADD_SOURCE_FILES(OBJECTS_SRC_FILES
    22  TurretController.cc
     3  TeamTargetProxy.cc
    34)
  • code/branches/turretFS14/src/modules/objects/controllers/TurretController.cc

    r10044 r10049  
    136136                        {
    137137                                this->getControllableEntity()->fire(0);
    138                                 orxout() << 42 << endl;
    139138                        }
    140139                }
  • code/branches/turretFS14/src/modules/objects/controllers/TurretController.h

    r10044 r10049  
    2727 */
    2828
    29  #ifndef _TurretController_H__
    30  #define _TurretController_H__
     29/**
     30    @brief Definition for the controller for turrets.
     31*/
     32
     33#ifndef _TurretController_H__
     34#define _TurretController_H__
    3135
    3236#include "OrxonoxPrereqs.h"
     
    3539 namespace orxonox
    3640 {
     41        /**
     42                @brief
     43                Controller for turrets. Chooses a target, and makes the turret aim/shoot at it.
     44
     45                The controllableEntity gets casted to Turret, so this controller won't work for anything else.
     46        */
    3747        class _OrxonoxExport TurretController : public ArtificialController, public Tickable
    3848        {
Note: See TracChangeset for help on using the changeset viewer.