示例#1
0
 public static void NotifyObjectRemoved(IStaticWorldObject structure)
 {
     Api.SafeInvoke(() => StructureRemoved?.Invoke(structure));
 }
示例#2
0
 public void RemoveStructure(Structure structure)
 {
     Structures.Remove(structure.Position);
     StructureRemoved?.Invoke(this, structure);
 }