Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 18, 2011, 1:58:58 PM (12 years ago)
Author:
jo
Message:

Small edits. Documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2011/src/orxonox/gametypes/TeamGametype.cc

    r8996 r8997  
    278278    }
    279279
     280    /**
     281    @brief
     282        Colours a pawn depending on the team values set in XML.
     283        A pawn is coloured depending on it's team set via XML.
     284        If there is a controller the pawn is coloured depending on its team which also can be set via XML.
     285    */
    280286    void TeamGametype::setDefaultObjectColour(Pawn* pawn)
    281287    {
     
    311317
    312318    void TeamGametype::colourPawn(Pawn* pawn, int teamNr)
    313     {// catch no-colouring-case and wrong input
     319    {// catch: no-colouring-case and wrong input
    314320        if(teamNr < 0 || teamNr+1 > this->teamcolours_.size() ||pawn == NULL) return;
    315321        pawn->setRadarObjectColour(this->teamcolours_[teamNr]);
Note: See TracChangeset for help on using the changeset viewer.