using System; using GamecraftModdingAPI.Events; namespace Leadercraft.Scoring { internal class LeadercraftGameEventHandler : SimpleEventHandlerEngine { public LeadercraftGameEventHandler(): base(State.EnterGame, State.ExitGame, EventType.GameSwitchedTo, "LeadercraftGameEventHandler") { } } internal class LeadercraftSimEventHandler : SimpleEventHandlerEngine { public LeadercraftSimEventHandler() : base(State.StartPlayingGame, State.StopPlayingGame, EventType.SimulationSwitchedTo, "LeadercraftSimEventHandler") { } } }