C# Class MCLawl.CTFGame

ファイルを表示 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_oe property

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

friendlyfire public_oe property

public bool friendlyfire
return bool

gameOn public_oe property

public bool gameOn
return bool

mapOn public_oe property

public Level,MCLawl mapOn
return Level

maxPoints public_oe property

public int maxPoints
return int

onTeamCheck public_oe property

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

returnCount public_oe property

public int returnCount
return int

teams public_oe property

public List teams
return List