static public userMapClass loadGame()
        {
            try
            {
                FileStream      file = new FileStream("file.saved", FileMode.Open, FileAccess.Read);
                BinaryFormatter bf   = new BinaryFormatter();
                userMapClass    m    = (userMapClass)bf.Deserialize(file);

                file.Close();

                return(m);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
                return(null);
            }
        }
 public void setMap(userMapClass loadMap)
 {
     this.map = loadMap;
 }
 public GameEngineClass(int min_width, int max_width, int min_height, int max_height, int num_enemies, int gold)
 {
     map = new userMapClass(min_width, max_width, min_height, max_height, num_enemies, gold);
 }