private void HandleBombPlanted(object sender, BombEventArgs e) { BombPlantedEvent newEvent = new BombPlantedEvent() { SteamID = e.Player.SteamID, Site = e.Site }; CurrentTick.Events.Add(newEvent); }
private void OnBombPlant() { if (BombCapacity <= 0) { return; } --BombCapacity; BombPlantedEvent?.Invoke(WorldPosition.xy); }