C# Class MCLawl.Team

Show file 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 property

public char color
return char

flagBase public property

public ushort[] flagBase
return ushort[]

flagLocation public property

public ushort[] flagLocation
return ushort[]

flagishome public property

public bool flagishome
return bool

flagmoved public property

public bool flagmoved
return bool

ftcount public property

public int ftcount
return int

holdingFlag public property

public Player,MCLawl holdingFlag
return Player

mapOn public property

public Level,MCLawl mapOn
return Level

players public property

public List players
return List

points public property

public int points
return int

spawns public property

public List spawns
return List

spawnset public property

public bool spawnset
return bool

teamstring public property

public string teamstring
return string

tempFlagblock public property

public CatchPos tempFlagblock
return CatchPos

tfb public property

public CatchPos tfb
return CatchPos