コード例 #1
0
        public void DebugTriggerNextFullMoon()
        {
            Moon soonestMoon = null;

            if (!moons.NullOrEmpty() && gcMoonCycle != null)
            {
                soonestMoon = moons.MinBy(x => x.DaysUntilFull);
                for (int i = 0; i < soonestMoon.DaysUntilFull; i++)
                {
                    AdvanceOneDay();
                }
                soonestMoon.FullMoonIncident();
            }
        }
コード例 #2
0
 public GameCondition_FullMoon(Moon newMoon)
 {
     moon = newMoon;
 }