diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-14 16:13:08 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-14 16:13:08 -0500 |
| commit | ce0628c5ad96e094db12a67d4e98b445fa873ad3 (patch) | |
| tree | 94a67903059685969085f7ee5724b9960c74d3f6 /src/game.h | |
| parent | 73c9b0fb4eb35e73d0005f896462e748a207d2b1 (diff) | |
| download | tanetane-ce0628c5ad96e094db12a67d4e98b445fa873ad3.tar.gz tanetane-ce0628c5ad96e094db12a67d4e98b445fa873ad3.tar.bz2 tanetane-ce0628c5ad96e094db12a67d4e98b445fa873ad3.zip | |
Added map fadeouts
Screen fadeouts and map fadeouts are now handled by the effect system.
Diffstat (limited to 'src/game.h')
| -rw-r--r-- | src/game.h | 5 |
1 files changed, 0 insertions, 5 deletions
| diff --git a/src/game.h b/src/game.h index c7926bf..736fa7a 100644 --- a/src/game.h +++ b/src/game.h | |||
| @@ -82,10 +82,6 @@ public: | |||
| 82 | 82 | ||
| 83 | const Font& getFont() const { return font_; } | 83 | const Font& getFont() const { return font_; } |
| 84 | 84 | ||
| 85 | double getFadeoutProgress() const { return fadeout_; } | ||
| 86 | |||
| 87 | void setFadeoutProgress(double val) { fadeout_ = val; } | ||
| 88 | |||
| 89 | private: | 85 | private: |
| 90 | 86 | ||
| 91 | void clearSprites(); | 87 | void clearSprites(); |
| @@ -101,7 +97,6 @@ private: | |||
| 101 | std::map<std::string, int> spritesByAlias_; | 97 | std::map<std::string, int> spritesByAlias_; |
| 102 | std::unique_ptr<Map> map_; | 98 | std::unique_ptr<Map> map_; |
| 103 | Font font_; | 99 | Font font_; |
| 104 | double fadeout_ = 0.0; | ||
| 105 | }; | 100 | }; |
| 106 | 101 | ||
| 107 | #endif /* end of include guard: GAME_H_E6F1396E */ | 102 | #endif /* end of include guard: GAME_H_E6F1396E */ |
