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

Function F_Start

Project_Labirint_Game/olaf-game.cpp:117–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117void F_Start() {
118
119 F_Map();
120 if ((x % 2 == 0) && sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Space)) {
121 //sound_Rington.play();
122 window.clear();
123 window.display();
124 Sleep(0700); Sleep(0700); Sleep(0700);
125 x++;
126 F_Logic();
127 F_Start();
128 }
129 else if (x % 2 == 1) {
130 //sound_Rington.play();
131 window.clear();
132 window.display();
133 Sleep(0700); Sleep(0700); Sleep(0700);
134 x++;
135 F_Logic();
136 F_Start();
137 }
138 else F_Start();
139}
140
141
142void F_Loading() {

Callers 1

F_MainMenuFunction · 0.85

Calls 1

displayMethod · 0.45

Tested by

no test coverage detected