/// <summary> /// Function using DAL class to create Uris for map sprites /// </summary> private void LoadAssets() { Dictionary <string, Uri> tempPathes = new Dictionary <string, Uri>(); _unitsFileLoader = new ImageLoader(_path + "\\files\\images\\question_mark.png"); _unitsFileLoader.Load(unitsNames, _path + "\\files\\images\\sprites\\"); _hexagonsFileLoader = new ImageLoader(_path + "\\files\\images\\question_mark.png"); _hexagonsFileLoader.Load(hexagonsNames, _path + "\\files\\images\\sprites\\hexagons\\"); //------------------------------------------------------------------------------------// _game = new Game(new Jeu(), this); _map = _game.Map; _player = new PlayerHMI(new Joueur(_map.Map)); UnitFactory.AddFileLoader(_unitsFileLoader); UnitFactory.AddMap(_map); _urisLoaded = true; }