public FormController(IView theView, Game theGame, FileHandler thefiler, LevelBuilder thebuilder) { view = theView; game = theGame; filer = thefiler; builder = thebuilder; }
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(); }
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(); }
internal void SetGame(Game aGame) { myGame = aGame; }
public Controller(IView theView, Game theGame, FileHandler theFiler, LevelBuilder theBuilder) { view = theView; game = theGame; filer = theFiler; builder = theBuilder; filer.Init(); game.Init(view, filer); }