Exemplo n.º 1
0
 public void Init(Point dimensions)
 {
     builder = new LevelBuilder();
     builder.Init(dimensions);
     //Painter.SetMediaPath(@"H:\2015\semester 2\PR 283 C#\Theseus\TheseusFormed - Test\media");
     mediaPath = Painter.SetMediaPath();
     //SetPanelSize();
     Draw();
 }
Exemplo n.º 2
0
        public void LoadUserMap(AMap theMap)
        {
            builder   = new LevelBuilder();
            mediaPath = Painter.SetMediaPath();
            builder.LoadUserMap(theMap);

            tbxMapName.Text = theMap.Name;
            //Painter.SetPanelSize(
            //SetPanelSize();
            Draw();
            //RenderCharacters();
        }
Exemplo n.º 3
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();
        }