C# Class ctac.GamePlayersModel

Datei anzeigen Open project: dshook/centauri-tac

Public Properties

Property Type Description
players List

Public Methods

Method Description
AddOrUpdate ( PlayerModel player ) : void
GetByClientId ( System.Guid clientId ) : PlayerModel
GetByPlayerId ( int playerId ) : PlayerModel
OpponentId ( int currentTurnPlayerId ) : int

Method Details

AddOrUpdate() public method

public AddOrUpdate ( PlayerModel player ) : void
player PlayerModel
return void

GetByClientId() public method

public GetByClientId ( System.Guid clientId ) : PlayerModel
clientId System.Guid
return PlayerModel

GetByPlayerId() public method

public GetByPlayerId ( int playerId ) : PlayerModel
playerId int
return PlayerModel

OpponentId() public method

public OpponentId ( int currentTurnPlayerId ) : int
currentTurnPlayerId int
return int

Property Details

players public_oe property

public List players
return List