/// <summary> /// When overriding: Make sure to always call this base first before doing anything else! /// </summary> /// <param name="player"></param> public virtual void AddLeftPlayer(Player player) { left_players.Access((list) => { list.Add(player); }); }
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); } }); }