C# Class TeamManager2

Should be accessed via globals singleton Globals.Instance.Teams
Mostra file Open project: caffeinatedguy/Limbs

Public Properties

Property Type Description
AllPlayers List
NumberOfTeams int

Public Methods

Method Description
GetPlayerAxisName ( string axisName, PlayerId, playerId ) : string
GetTeamNumber ( PlayerId, playerId ) : int
ObjectiveUpdated ( string controllerAffix, ScoreType, objectiveChoosen, bool &isNewPlayer, bool &newObjective ) : TeamPlayer,
Reset ( ) : void
this ( int i ) : Team,

Private Methods

Method Description
addPlayer ( string controllerAffix ) : TeamPlayer,
recreateTeams ( ) : List

Method Details

GetPlayerAxisName() public method

public GetPlayerAxisName ( string axisName, PlayerId, playerId ) : string
axisName string
playerId PlayerId,
return string

GetTeamNumber() public method

public GetTeamNumber ( PlayerId, playerId ) : int
playerId PlayerId,
return int

ObjectiveUpdated() public method

public ObjectiveUpdated ( string controllerAffix, ScoreType, objectiveChoosen, bool &isNewPlayer, bool &newObjective ) : TeamPlayer,
controllerAffix string
objectiveChoosen ScoreType,
isNewPlayer bool
newObjective bool
return TeamPlayer,

Reset() public method

public Reset ( ) : void
return void

this() public method

public this ( int i ) : Team,
i int
return Team,

Property Details

AllPlayers public_oe property

public List AllPlayers
return List

NumberOfTeams public_oe property

public int NumberOfTeams
return int