예제 #1
0
파일: Table.cs 프로젝트: connorconway/Poker
 private void Visit(Player player, PlayerVisitor v)
 {
     v.AddPlayer(player);
     player.Accept(v);
 }
예제 #2
0
파일: Table.cs 프로젝트: connorconway/Poker
 public void Accept(PlayerVisitor visitor)
 {
     Players.ForEach(p => Visit(p, visitor));
 }