public static LichKing GetInstance() { if (LichKing.instance == null) { lock (_lock) { instance = new LichKing(); } } return(LichKing.instance); }
static void Main(string[] args) { Client.emulation(); var k = LichKing.GetInstance(); Director dc = new Director(); OrcBuilder buli = new OrcBuilder(); dc.CreatePlayerBase(buli); Base bs = buli.GetBase(); Console.WriteLine(bs.ToString()); Pandaren BrewMaster = new Pandaren("Brewmaster", 22, 14, 15, 29, 40); Hero EarthMaster = BrewMaster.Clone(); }