Loading ScreenController.h +0 −7 Original line number Diff line number Diff line Loading @@ -33,7 +33,6 @@ class ScreenController : public Menu{ public: ScreenController(OpenSpace &s, Falcon_9 &f, Enemies &e, sf::RenderWindow &w); void handleEvent(sf::Event &e); void start_screen_func(sf::RenderWindow &win); //draw menu -> start, game play Loading @@ -42,9 +41,6 @@ public: //draw menu -> option void option_screem_func(); //draw menu -> how to play void how_to_play_screen_func(); //collition_laser() - return 100 if we didn't hit enemy, else it return //the index of enemy that we hit. int collition_laser(); Loading @@ -52,11 +48,8 @@ public: //str == "on" - means we see htem on the screen or not //str == "move" - we need to move enemies or not bool on_the_screen(int &x, int &y, std::string str = "on") const; void restart_clock(); void reset(); void draw(); }; Loading Loading
ScreenController.h +0 −7 Original line number Diff line number Diff line Loading @@ -33,7 +33,6 @@ class ScreenController : public Menu{ public: ScreenController(OpenSpace &s, Falcon_9 &f, Enemies &e, sf::RenderWindow &w); void handleEvent(sf::Event &e); void start_screen_func(sf::RenderWindow &win); //draw menu -> start, game play Loading @@ -42,9 +41,6 @@ public: //draw menu -> option void option_screem_func(); //draw menu -> how to play void how_to_play_screen_func(); //collition_laser() - return 100 if we didn't hit enemy, else it return //the index of enemy that we hit. int collition_laser(); Loading @@ -52,11 +48,8 @@ public: //str == "on" - means we see htem on the screen or not //str == "move" - we need to move enemies or not bool on_the_screen(int &x, int &y, std::string str = "on") const; void restart_clock(); void reset(); void draw(); }; Loading