C# Class TeamManager2

Should be accessed via globals singleton Globals.Instance.Teams
Afficher le fichier Open project: caffeinatedguy/Limbs

Méthodes publiques

Свойство Type Description
AllPlayers List
NumberOfTeams int

Méthodes publiques

Méthode 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

Méthode Description
addPlayer ( string controllerAffix ) : TeamPlayer,
recreateTeams ( ) : List

Method Details

GetPlayerAxisName() public méthode

public GetPlayerAxisName ( string axisName, PlayerId, playerId ) : string
axisName string
playerId PlayerId,
Résultat string

GetTeamNumber() public méthode

public GetTeamNumber ( PlayerId, playerId ) : int
playerId PlayerId,
Résultat int

ObjectiveUpdated() public méthode

public ObjectiveUpdated ( string controllerAffix, ScoreType, objectiveChoosen, bool &isNewPlayer, bool &newObjective ) : TeamPlayer,
controllerAffix string
objectiveChoosen ScoreType,
isNewPlayer bool
newObjective bool
Résultat TeamPlayer,

Reset() public méthode

public Reset ( ) : void
Résultat void

this() public méthode

public this ( int i ) : Team,
i int
Résultat Team,

Property Details

AllPlayers public_oe property

public List AllPlayers
Résultat List

NumberOfTeams public_oe property

public int NumberOfTeams
Résultat int