trop de trucs oscours
This commit is contained in:
@@ -13,9 +13,16 @@ MainAppMenu::MainAppMenu(std::shared_ptr<std::stack<AppMenu>> menuStack, std::sh
|
||||
}
|
||||
|
||||
void MainAppMenu::computeFrame() {
|
||||
|
||||
if (sf::Keyboard::isKeyPressed(sfKey::Enter)) {
|
||||
|
||||
}
|
||||
else if (sf::Keyboard::isKeyPressed(sfKey::Escape)) {
|
||||
this->menuStack->pop();
|
||||
}
|
||||
}
|
||||
|
||||
void MainAppMenu::drawFrame() const {
|
||||
|
||||
this->renderWindow->clear(sf::Color::Black);
|
||||
|
||||
this->renderWindow->display();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user