示例#1
0
 /*********
 ** Public methods
 *********/
 public Clock(DayTimeMoneyBox timeBox, ClockConfig OurConfig)
 {
     TimeBox   = timeBox;
     ModConfig = OurConfig;
 }
示例#2
0
 /*********
 ** 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;
 }