public static void Register(ServerWorldEntity entity) { lock (octree) { octree.Add(entity, entity.Position); } }
public static void Update(ServerWorldEntity entity) { lock (octree) { octree.Remove(entity); Register(entity); } }
public static void Register(ServerWorldEntity entity) { lock (octree) { octree.Add(entity, entity.Position); } }
public static void Update(ServerWorldEntity entity) { lock (octree) { octree.Remove(entity); Register(entity); } }