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

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

            return(instance);
        }