예제 #1
0
 private void Initialize(Player first, Player second)
 {
     First              = new PlayerOnBoardInfo(first);
     Second             = new PlayerOnBoardInfo(second);
     _switch            = new Switch <PlayerOnBoardInfo>(First, Second);
     first.IsOnTheMove  = false;
     second.IsOnTheMove = false;
 }
예제 #2
0
 private void Initialize(Player first, Player second)
 {
     First = new PlayerOnBoardInfo(first);
     Second = new PlayerOnBoardInfo(second);
     _switch = new Switch<PlayerOnBoardInfo>(First, Second);
     first.IsOnTheMove = false;
     second.IsOnTheMove = false;
 }