Adventure game written for ECE2035 at the Georgia Institute of Technology
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
pausemenu.h@5:93a4c396c1af, 2019-10-26 (annotated)
- Committer:
- trmontgomery
- Date:
- Sat Oct 26 15:44:26 2019 +0000
- Revision:
- 5:93a4c396c1af
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
trmontgomery | 5:93a4c396c1af | 1 | #ifndef INGAMEMENU_H |
trmontgomery | 5:93a4c396c1af | 2 | #define INGAMEMENU_H |
trmontgomery | 5:93a4c396c1af | 3 | |
trmontgomery | 5:93a4c396c1af | 4 | #include "startmenu.h" |
trmontgomery | 5:93a4c396c1af | 5 | class PauseMenu : public Menu{ |
trmontgomery | 5:93a4c396c1af | 6 | private: |
trmontgomery | 5:93a4c396c1af | 7 | int status_color; |
trmontgomery | 5:93a4c396c1af | 8 | int inventory_color; |
trmontgomery | 5:93a4c396c1af | 9 | int config_color; |
trmontgomery | 5:93a4c396c1af | 10 | int exit_color; |
trmontgomery | 5:93a4c396c1af | 11 | int exit_en; |
trmontgomery | 5:93a4c396c1af | 12 | int quest_complete; |
trmontgomery | 5:93a4c396c1af | 13 | static int switch_ax; |
trmontgomery | 5:93a4c396c1af | 14 | Player* p; |
trmontgomery | 5:93a4c396c1af | 15 | |
trmontgomery | 5:93a4c396c1af | 16 | public: |
trmontgomery | 5:93a4c396c1af | 17 | void draw(int); |
trmontgomery | 5:93a4c396c1af | 18 | int update(int); |
trmontgomery | 5:93a4c396c1af | 19 | PauseMenu(Player* player); |
trmontgomery | 5:93a4c396c1af | 20 | int o_status(); |
trmontgomery | 5:93a4c396c1af | 21 | int o_inventory(); |
trmontgomery | 5:93a4c396c1af | 22 | int o_config(); |
trmontgomery | 5:93a4c396c1af | 23 | static int get_config(){return switch_ax;} |
trmontgomery | 5:93a4c396c1af | 24 | static void set_config(int s){switch_ax = s;} |
trmontgomery | 5:93a4c396c1af | 25 | }; |
trmontgomery | 5:93a4c396c1af | 26 | |
trmontgomery | 5:93a4c396c1af | 27 | #endif |