private void send_to_all_players_in_list(AtomicData <List <Player> > players, Event3D ev) { players.Access((list) => { foreach (var player in list) { player.stream_3d.Enqueue(ev); } }); }
public ArenaBase() { left_players = new AtomicData <List <Player> >(new List <Player>(2)); right_players = new AtomicData <List <Player> >(new List <Player>(2)); }