Commit be2d0e94 authored by Illia Aldabaiev's avatar Illia Aldabaiev
Browse files

Ready project version 1.01

parent 8db81bc7
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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
@@ -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();
@@ -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();
};