MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / F_Quit

Function F_Quit

Project_Labirint_Game/olaf-game.cpp:98–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void F_Quit() {
99 window.clear(sf::Color::White);
100 window.draw(Quit);
101 window.display();
102
103 if (sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Numpad2)) {
104 //sound_Rington.play();
105 F_MainMenu();
106 }
107 else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Numpad1))
108 {
109 //sound_Rington.play();
110 system("pause");
111 window.close();
112 }
113 else { F_Quit(); }
114}
115
116
117void F_Start() {

Callers 1

F_MainMenuFunction · 0.85

Calls 2

F_MainMenuFunction · 0.85
displayMethod · 0.45

Tested by

no test coverage detected