private SetPosition ( PlayerPosition position ) : void | ||
position | PlayerPosition | |
return | void |
/// <summary> /// Creates new belot game /// </summary> public BelotGame( Player south, Player east, Player north, Player west ) { _southPlayer = south; _eastPlayer = east; _northPlayer = north; _westPlayer = west; _southPlayer.SetPosition( PlayerPosition.South ); _eastPlayer.SetPosition( PlayerPosition.East ); _northPlayer.SetPosition( PlayerPosition.North ); _westPlayer.SetPosition( PlayerPosition.West ); _firstPlayer = _southPlayer; _deals = new List< Deal >(); }
/// <summary> /// Creates new belot game /// </summary> public BelotGame(Player south, Player east, Player north, Player west) { _southPlayer = south; _eastPlayer = east; _northPlayer = north; _westPlayer = west; _southPlayer.SetPosition(PlayerPosition.South); _eastPlayer.SetPosition(PlayerPosition.East); _northPlayer.SetPosition(PlayerPosition.North); _westPlayer.SetPosition(PlayerPosition.West); _firstPlayer = _southPlayer; _deals = new List <Deal>(); }