Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2011, 3:09:17 PM (13 years ago)
Author:
jo
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamecontent/src/orxonox/interfaces/PartyMember.h

    r8942 r8950  
    5454            virtual ~PartyMember();
    5555
     56
     57
    5658            /**
    5759            @brief
    58                 Method to transcribe a PartyMember object to the player.
    59                 Must be implemented by every class inheriting from PartyMember.
    60             @param team
    61                
     60                Method to set the objects teamnumber.
     61                Must be implemented by every class inheriting from PartyMember. It is virtual in order to allow to implement a hirarchy.
     62                Hirarchy: PlayerInfo > Controller > Pawn. When the level is set in the controller it should be also set in the controlled pawn.
     63            @param team The teamnumber to which a PartyMember belongs to. Value '-1' means no team is set. 0,1,2, ... are legal team numbers.
     64
    6265            @return
    63                
     66
    6467            */
     68            virtual inline void setTeam(int team) =0;
    6569
    66             inline void setTeam(int team)
    67                 { this->team_ = team; }
    6870            inline int getTeam() const
    6971                { return this->team_; }
Note: See TracChangeset for help on using the changeset viewer.