Follow the leader
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

GameEventHandlers.cs 588B

1234567891011121314151617181920
  1. using System;
  2. using GamecraftModdingAPI.Events;
  3. namespace Leadercraft.Scoring
  4. {
  5. internal class LeadercraftGameEventHandler : SimpleEventHandlerEngine
  6. {
  7. public LeadercraftGameEventHandler(): base(State.EnterGame, State.ExitGame, EventType.GameSwitchedTo, "LeadercraftGameEventHandler")
  8. {
  9. }
  10. }
  11. internal class LeadercraftSimEventHandler : SimpleEventHandlerEngine
  12. {
  13. public LeadercraftSimEventHandler() : base(State.StartPlayingGame, State.StopPlayingGame, EventType.SimulationSwitchedTo, "LeadercraftSimEventHandler")
  14. {
  15. }
  16. }
  17. }