private SetPosition ( PlayerPosition position ) : void | ||
position | PlayerPosition | |
Résultat | void |
internal void SetPosition( PlayerPosition position )
{
_position = position;
}
/// <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 >(); }