C# Class MiningGameServer.GameModes.CTFGameMode

Inheritance: ServerGameMode
Datei anzeigen Open project: geel9/Minor-Destruction

Public Properties

Property Type Description
BlueFlagCarrier NetworkPlayer
BlueFlagLocation Vector2
BlueScore int
RedFlagCarrier NetworkPlayer
RedFlagLocation Vector2
RedScore int

Public Methods

Method Description
GetName ( ) : string
OnGameModeChosen ( ) : void
OnPlayerChooseClass ( NetworkPlayer player, int classChosen ) : void
OnPlayerChooseTeam ( NetworkPlayer player, int team ) : void
OnPlayerDeath ( NetworkPlayer player ) : void
OnPlayerDisconnect ( NetworkPlayer player ) : void
OnPlayerSpawn ( NetworkPlayer player ) : void
PickupFlag ( NetworkPlayer pickerupper, BlockData block ) : void
PlayerDropFlag ( NetworkPlayer dropper ) : void
PlayerScore ( NetworkPlayer scorer, BlockData touched ) : void

Method Details

GetName() public method

public GetName ( ) : string
return string

OnGameModeChosen() public method

public OnGameModeChosen ( ) : void
return void

OnPlayerChooseClass() public method

public OnPlayerChooseClass ( NetworkPlayer player, int classChosen ) : void
player NetworkPlayer
classChosen int
return void

OnPlayerChooseTeam() public method

public OnPlayerChooseTeam ( NetworkPlayer player, int team ) : void
player NetworkPlayer
team int
return void

OnPlayerDeath() public method

public OnPlayerDeath ( NetworkPlayer player ) : void
player NetworkPlayer
return void

OnPlayerDisconnect() public method

public OnPlayerDisconnect ( NetworkPlayer player ) : void
player NetworkPlayer
return void

OnPlayerSpawn() public method

public OnPlayerSpawn ( NetworkPlayer player ) : void
player NetworkPlayer
return void

PickupFlag() public method

public PickupFlag ( NetworkPlayer pickerupper, BlockData block ) : void
pickerupper NetworkPlayer
block BlockData
return void

PlayerDropFlag() public method

public PlayerDropFlag ( NetworkPlayer dropper ) : void
dropper NetworkPlayer
return void

PlayerScore() public method

public PlayerScore ( NetworkPlayer scorer, BlockData touched ) : void
scorer NetworkPlayer
touched BlockData
return void

Property Details

BlueFlagCarrier public_oe property

public NetworkPlayer BlueFlagCarrier
return NetworkPlayer

BlueFlagLocation public_oe property

public Vector2 BlueFlagLocation
return Vector2

BlueScore public_oe property

public int BlueScore
return int

RedFlagCarrier public_oe property

public NetworkPlayer RedFlagCarrier
return NetworkPlayer

RedFlagLocation public_oe property

public Vector2 RedFlagLocation
return Vector2

RedScore public_oe property

public int RedScore
return int