Beispiel #1
0
        static void Main(string[] args)
        {
            Roommaker maker = Roommaker.getInstance();

            maker.createMap();
            Console.Write("Press any key to exit...");
            Console.ReadKey();
        }
Beispiel #2
0
        public static Roommaker getInstance()
        {
            if (instance == null)
            {
                instance = new Roommaker();
            }

            return(instance);
        }