Esempio n. 1
0
 /// <summary>
 /// Threadsafe.
 /// </summary>
 /// <param name="world"></param>
 /// <param name="cb"></param>
 public void RemoveWorld(World world, Arena3D arena)
 {
     work.Remove(new WorldInfo
     {
         world = world,
         arena = arena
     });
 }
Esempio n. 2
0
 /// <summary>
 /// Threadsafe.
 /// </summary>
 /// <param name="world"></param>
 public void AddWorld(World world, Arena3D arena)
 {
     work.Add(new WorldInfo
     {
         world = world,
         arena = arena
     });
 }
Esempio n. 3
0
 public ArenaService3DImpl(Arena3D arena)
 {
     this.arena = arena;
 }