Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2013, 3:57:23 PM (10 years ago)
Author:
jo
Message:

Added Team functionality down to the controller class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/controllers/FormationController.cc

    r9667 r9797  
    8888        this->speedCounter_ = 0.2f;
    8989        this->targetPosition_ = Vector3::ZERO;
    90         this->team_=-1;
    9190        this->target_.setCallback(createFunctor(&FormationController::targetDied, this));
    9291    }
     
    128127        SUPER(FormationController, XMLPort, xmlelement, mode);
    129128
    130         XMLPortParam(FormationController, "team", setTeam, getTeam, xmlelement, mode).defaultValues(-1);
    131129        XMLPortParam(FormationController, "formationFlight", setFormationFlight, getFormationFlight, xmlelement, mode).defaultValues(false);
    132130        XMLPortParam(FormationController, "formationSize", setFormationSize, getFormationSize, xmlelement, mode).defaultValues(STANDARD_MAX_FORMATION_SIZE);
Note: See TracChangeset for help on using the changeset viewer.