Beispiel #1
0
        public override void DoWindowContents(Rect inRect)
        {
            DrawPageTitle(inRect);
            var mainRect = GetMainRect(inRect, 0f, false);

            ZombieSettingsDefaults.DoWindowContentsInternal(ref ZombieSettings.Values, mainRect, false);
            DoBottomButtons(inRect, null, null, null, true);
        }
Beispiel #2
0
        public override void WriteSettings()
        {
            var settings = ZombieSettings.GetGameSettings();

            if (settings != null)
            {
                settings.WriteSettings();
            }
            else
            {
                ZombieSettingsDefaults.WriteSettings();
            }
        }
Beispiel #3
0
        public override void DoSettingsWindowContents(Rect inRect)
        {
            var settings = ZombieSettings.GetGameSettings();

            if (settings != null)
            {
                settings.DoWindowContents(inRect);
            }
            else
            {
                ZombieSettingsDefaults.DoWindowContents(inRect);
            }
        }
Beispiel #4
0
 public ZombieSettings(World world) : base(world)
 {
     Values = ZombieSettingsDefaults.Defaults();
 }
Beispiel #5
0
 public void DoWindowContents(Rect inRect)
 {
     ZombieSettingsDefaults.DoWindowContentsInternal(ref Values, inRect, false);
 }