Пример #1
0
        public void Init(int theList, string newMap)
        {
            currentMap = newMap;
            currentList = theList;
            filer = new FileHandler();
            game = new Game();
            mediaPath = @"H:\2015\semester 2\PR 283 C#\Theseus\TheseusFormed - Test\media";

            filer.Init();
            filer.SetMap(theList, newMap);
            game.SetFiler(filer);
            LoadMap();
        }
Пример #2
0
        public void Init(int theList, string newMap)
        {
            currentMap = newMap;
            currentList = theList;
            filer = new FileHandler();
            game = new Game();
            mediaPath = Painter.SetMediaPath();

            filer.Init();
            filer.SetMap(theList, newMap);
            game.SetFiler(filer);
            LoadMap();
        }