Modification d'un niveau et début de l'affichage des règles

This commit is contained in:
maelle 2016-04-11 19:56:44 +02:00
parent 44ae6475e3
commit de4ec01e64
3 changed files with 5 additions and 1 deletions

Binary file not shown.

BIN
res/textures/regles_jeu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 KiB

View File

@ -175,7 +175,11 @@ void Menu::loadLevelMenu() {
} }
void Menu::loadRules() { void Menu::loadRules() {
// TODO: coder l'affichage des règles choices.clear();
getWindow().clear(sf::Color::Black);
sf::Texture& texture = getResourceManager().getTexture("regles_jeu.png");
background.setTexture(texture);
} }
void Menu::launchEditor() { void Menu::launchEditor() {