C# Class MCLawl.CTFGame

Show file Open project: dekema2/MCDek

Public Properties

Property Type Description
flagReturn System.Timers.Timer
friendlyfire bool
gameOn bool
mapOn Level
maxPoints int
onTeamCheck System.Timers.Timer
returnCount int
teams List

Public Methods

Method 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 method

public AddTeam ( string color ) : void
color string
return void

CaptureFlag() public method

public CaptureFlag ( Player p, Team playerTeam, Team capturedTeam ) : void
p Player
playerTeam Team
capturedTeam Team
return void

DropFlag() public method

public DropFlag ( Player p, Team team ) : void
p Player
team Team
return void

GameEnd() public method

public GameEnd ( Team winTeam ) : void
winTeam Team
return void

GameStart() public method

public GameStart ( ) : void
return void

GrabFlag() public method

public GrabFlag ( Player p, Team team ) : void
p Player
team Team
return void

RemoveTeam() public method

public RemoveTeam ( string color ) : void
color string
return void

ReturnFlag() public method

public ReturnFlag ( Player p, Team team, bool verbose ) : void
p Player
team Team
verbose bool
return void

Property Details

flagReturn public property

public System.Timers.Timer flagReturn
return System.Timers.Timer

friendlyfire public property

public bool friendlyfire
return bool

gameOn public property

public bool gameOn
return bool

mapOn public property

public Level,MCLawl mapOn
return Level

maxPoints public property

public int maxPoints
return int

onTeamCheck public property

public System.Timers.Timer onTeamCheck
return System.Timers.Timer

returnCount public property

public int returnCount
return int

teams public property

public List teams
return List