public override void Entry(IModHelper helper) { Config = Helper.ReadConfig <ModConfig>(); GameEvents.UpdateTick += new EventHandler(UpdateTick); }
public override void Entry(IModHelper helper) { Config = this.Helper.ReadConfig <ModConfig>(); helper.Events.GameLoop.UpdateTicked += OnUpdateTicked; }