C# Class SimpleTeamGameMode, GameProject

An abstract IGameMode implemtation that handles the respawning for Team games
Inheritance: IGameMode
Datei anzeigen Open project: EECS390IndieTeam/GameProject

Public Methods

Method Description
GameOver ( ) : bool
MovePlayerToSpawnPoint ( IPlayer, player ) : void
MovePlayersToStartPoints ( List players ) : void
OnGameEnd ( ) : void
OnGameStart ( ) : void
OnPreGame ( ) : void

Private Methods

Method Description
MoveTeamToStartPoints ( int team, IEnumerable players ) : void

Method Details

GameOver() public abstract method

public abstract GameOver ( ) : bool
return bool

MovePlayerToSpawnPoint() public method

public MovePlayerToSpawnPoint ( IPlayer, player ) : void
player IPlayer,
return void

MovePlayersToStartPoints() public method

public MovePlayersToStartPoints ( List players ) : void
players List
return void

OnGameEnd() public abstract method

public abstract OnGameEnd ( ) : void
return void

OnGameStart() public abstract method

public abstract OnGameStart ( ) : void
return void

OnPreGame() public abstract method

public abstract OnPreGame ( ) : void
return void