C# 클래스 MCSong.CTFGame

파일 보기 프로젝트 열기: MCSDFDBSWADZDSBL/MCSDFDBSWADZBSBL

공개 프로퍼티들

프로퍼티 타입 설명
flagReturn System.Timers.Timer
friendlyfire bool
gameOn bool
mapOn MCSong.Level
maxPoints int
onTeamCheck System.Timers.Timer
returnCount int
teams List

공개 메소드들

메소드 설명
AddTeam ( string color ) : void
CaptureFlag ( MCSong.Player p, MCSong.Team playerTeam, MCSong.Team capturedTeam ) : void
DropFlag ( MCSong.Player p, MCSong.Team team ) : void
GameEnd ( MCSong.Team winTeam ) : void
GameStart ( ) : void
GrabFlag ( MCSong.Player p, MCSong.Team team ) : void
RemoveTeam ( string color ) : void
ReturnFlag ( MCSong.Player p, MCSong.Team team, bool verbose ) : void

메소드 상세

AddTeam() 공개 메소드

public AddTeam ( string color ) : void
color string
리턴 void

CaptureFlag() 공개 메소드

public CaptureFlag ( MCSong.Player p, MCSong.Team playerTeam, MCSong.Team capturedTeam ) : void
p MCSong.Player
playerTeam MCSong.Team
capturedTeam MCSong.Team
리턴 void

DropFlag() 공개 메소드

public DropFlag ( MCSong.Player p, MCSong.Team team ) : void
p MCSong.Player
team MCSong.Team
리턴 void

GameEnd() 공개 메소드

public GameEnd ( MCSong.Team winTeam ) : void
winTeam MCSong.Team
리턴 void

GameStart() 공개 메소드

public GameStart ( ) : void
리턴 void

GrabFlag() 공개 메소드

public GrabFlag ( MCSong.Player p, MCSong.Team team ) : void
p MCSong.Player
team MCSong.Team
리턴 void

RemoveTeam() 공개 메소드

public RemoveTeam ( string color ) : void
color string
리턴 void

ReturnFlag() 공개 메소드

public ReturnFlag ( MCSong.Player p, MCSong.Team team, bool verbose ) : void
p MCSong.Player
team MCSong.Team
verbose bool
리턴 void

프로퍼티 상세

flagReturn 공개적으로 프로퍼티

public System.Timers.Timer flagReturn
리턴 System.Timers.Timer

friendlyfire 공개적으로 프로퍼티

public bool friendlyfire
리턴 bool

gameOn 공개적으로 프로퍼티

public bool gameOn
리턴 bool

mapOn 공개적으로 프로퍼티

public Level,MCSong mapOn
리턴 MCSong.Level

maxPoints 공개적으로 프로퍼티

public int maxPoints
리턴 int

onTeamCheck 공개적으로 프로퍼티

public System.Timers.Timer onTeamCheck
리턴 System.Timers.Timer

returnCount 공개적으로 프로퍼티

public int returnCount
리턴 int

teams 공개적으로 프로퍼티

public List teams
리턴 List