C# Class MCLawl.Team

显示文件 Open project: dekema2/MCDek Class Usage Examples

Public Properties

Property Type Description
color char
flagBase ushort[]
flagLocation ushort[]
flagishome bool
flagmoved bool
ftcount int
holdingFlag Player
mapOn Level
players List
points int
spawns List
spawnset bool
teamstring string
tempFlagblock CatchPos
tfb CatchPos

Public Methods

Method Description
AddMember ( Player p ) : void
AddSpawn ( ushort x, ushort y, ushort z, ushort rotx, ushort roty ) : void
Drawflag ( ) : void
GetColorBlock ( char color ) : byte
RemoveMember ( Player p ) : void
SpawnPlayer ( Player p ) : void

Method Details

AddMember() public method

public AddMember ( Player p ) : void
p Player
return void

AddSpawn() public method

public AddSpawn ( ushort x, ushort y, ushort z, ushort rotx, ushort roty ) : void
x ushort
y ushort
z ushort
rotx ushort
roty ushort
return void

Drawflag() public method

public Drawflag ( ) : void
return void

GetColorBlock() public static method

public static GetColorBlock ( char color ) : byte
color char
return byte

RemoveMember() public method

public RemoveMember ( Player p ) : void
p Player
return void

SpawnPlayer() public method

public SpawnPlayer ( Player p ) : void
p Player
return void

Property Details

color public_oe property

public char color
return char

flagBase public_oe property

public ushort[] flagBase
return ushort[]

flagLocation public_oe property

public ushort[] flagLocation
return ushort[]

flagishome public_oe property

public bool flagishome
return bool

flagmoved public_oe property

public bool flagmoved
return bool

ftcount public_oe property

public int ftcount
return int

holdingFlag public_oe property

public Player,MCLawl holdingFlag
return Player

mapOn public_oe property

public Level,MCLawl mapOn
return Level

players public_oe property

public List players
return List

points public_oe property

public int points
return int

spawns public_oe property

public List spawns
return List

spawnset public_oe property

public bool spawnset
return bool

teamstring public_oe property

public string teamstring
return string

tempFlagblock public_oe property

public CatchPos tempFlagblock
return CatchPos

tfb public_oe property

public CatchPos tfb
return CatchPos