public void RemoveShotByGID(int id) { if (ShotList.ContainsKey(id)) { Shot s = ShotList[id]; if (s.Owner != null) { s.Owner.RemoveShot(s); } ShotList.Remove(id); BZFStoGlobalIDMap.Remove(s.BZFSShotID); if (ShotRemoved != null) { ShotRemoved.Invoke(this, s); } } }
public void When(ShotRemoved shotRemoved) { }