public static void Debug() { /* DebugKey switch * { * Levels.Introduction => new StoryLauncher.Introduction(), * Levels.FirstDay => new StoryLauncher * }; *////switch cannot return a method if (Console.ReadKey(true).Key == ConsoleKey.D1) { StoryLauncher.Introduction(); } if (Console.ReadKey(true).Key == ConsoleKey.D2) { StoryLauncher.FirstDay(); } }
static void Main() { /*Stat Amount = new Stat(); * Stat MaxDamage = new Stat(); * Stat MinDamage = new Stat(); * BaseItem Wallet = new BaseItem(); * BaseItem Frostmourne = new BaseItem(); * BaseItemStat WalletAmount = new BaseItemStat(); * WalletAmount.MinValue = 0; * WalletAmount.MaxValue = 5000; * Wallet.BaseItemStatList.Add(WalletAmount); * Amount.BaseItemStat.Add(WalletAmount); * Amount.Name = "amount"; * WalletAmount.AStat = Amount; *//// usage of a database-thought type of item system while (Input.KeyBinds()) { /// StoryLauncher.Introduction(); Input.Debug(); StoryLauncher.FirstDay(); Console.ReadKey(true); } }