C# Class CaptureTheFlagMode, GameProject

A game mode for a simple team deathmatch mode
Inheritance: SimpleTeamGameMode
Datei anzeigen Open project: EECS390IndieTeam/GameProject Class Usage Examples

Public Properties

Property Type Description
ScoreLimit int

Public Methods

Method Description
GameOver ( ) : bool
GetFlagLocation ( int teamNum ) : Vector3
OnGameEnd ( ) : void
OnGameStart ( ) : void
OnPreGame ( ) : void
isFlagAtBaseForTeam ( int teamNum ) : bool
setFlagAtBase ( int flagNum, bool isAtBase ) : void

Method Details

GameOver() public method

public GameOver ( ) : bool
return bool

GetFlagLocation() public method

public GetFlagLocation ( int teamNum ) : Vector3
teamNum int
return Vector3

OnGameEnd() public method

public OnGameEnd ( ) : void
return void

OnGameStart() public method

public OnGameStart ( ) : void
return void

OnPreGame() public method

public OnPreGame ( ) : void
return void

isFlagAtBaseForTeam() public method

public isFlagAtBaseForTeam ( int teamNum ) : bool
teamNum int
return bool

setFlagAtBase() public method

public setFlagAtBase ( int flagNum, bool isAtBase ) : void
flagNum int
isAtBase bool
return void

Property Details

ScoreLimit public_oe property

public int ScoreLimit
return int