static void Main(string[] args) { Roommaker maker = Roommaker.getInstance(); maker.createMap(); Console.Write("Press any key to exit..."); Console.ReadKey(); }
public static Roommaker getInstance() { if (instance == null) { instance = new Roommaker(); } return(instance); }