using System; namespace ClassLib000.Chess { /// /// Игра /// public class ChessGame { public Player WhitePlayer; public Player BlackPlayer; #region constructors public ChessGame(bool bInit = true) { WhitePlayer = new Player(); BlackPlayer = new Player(); if (bInit) { Init(); } } #endregion #region public methods public void Init() { WhitePlayer.Init(EColor.White); BlackPlayer.Init(EColor.Black); } #endregion } }