/********* ** Public methods *********/ public Clock(DayTimeMoneyBox timeBox, ClockConfig OurConfig) { TimeBox = timeBox; ModConfig = OurConfig; }
/********* ** Public methods *********/ /// <summary>The mod entry point, called after the mod is first loaded.</summary> /// <param name="helper">Provides simplified APIs for writing mods.</param> public override void Entry(IModHelper helper) { ModConfig = helper.ReadConfig <ClockConfig>(); helper.Events.GameLoop.DayStarted += OnDayStarted; }