C# Class MCLawl.CTFGame

Afficher le fichier Open project: dekema2/MCDek

Méthodes publiques

Свойство Type Description
flagReturn System.Timers.Timer
friendlyfire bool
gameOn bool
mapOn Level
maxPoints int
onTeamCheck System.Timers.Timer
returnCount int
teams List

Méthodes publiques

Méthode Description
AddTeam ( string color ) : void
CaptureFlag ( Player p, Team playerTeam, Team capturedTeam ) : void
DropFlag ( Player p, Team team ) : void
GameEnd ( Team winTeam ) : void
GameStart ( ) : void
GrabFlag ( Player p, Team team ) : void
RemoveTeam ( string color ) : void
ReturnFlag ( Player p, Team team, bool verbose ) : void

Method Details

AddTeam() public méthode

public AddTeam ( string color ) : void
color string
Résultat void

CaptureFlag() public méthode

public CaptureFlag ( Player p, Team playerTeam, Team capturedTeam ) : void
p Player
playerTeam Team
capturedTeam Team
Résultat void

DropFlag() public méthode

public DropFlag ( Player p, Team team ) : void
p Player
team Team
Résultat void

GameEnd() public méthode

public GameEnd ( Team winTeam ) : void
winTeam Team
Résultat void

GameStart() public méthode

public GameStart ( ) : void
Résultat void

GrabFlag() public méthode

public GrabFlag ( Player p, Team team ) : void
p Player
team Team
Résultat void

RemoveTeam() public méthode

public RemoveTeam ( string color ) : void
color string
Résultat void

ReturnFlag() public méthode

public ReturnFlag ( Player p, Team team, bool verbose ) : void
p Player
team Team
verbose bool
Résultat void

Property Details

flagReturn public_oe property

public System.Timers.Timer flagReturn
Résultat System.Timers.Timer

friendlyfire public_oe property

public bool friendlyfire
Résultat bool

gameOn public_oe property

public bool gameOn
Résultat bool

mapOn public_oe property

public Level,MCLawl mapOn
Résultat Level

maxPoints public_oe property

public int maxPoints
Résultat int

onTeamCheck public_oe property

public System.Timers.Timer onTeamCheck
Résultat System.Timers.Timer

returnCount public_oe property

public int returnCount
Résultat int

teams public_oe property

public List teams
Résultat List