aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-04 23:52:04 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-04 23:52:04 +0100
commitb75a02c8f5c616eff6f21197c3e13056eefcb873 (patch)
treebee47f568de6d48a22d78043e05de198d5bec611 /src/gameplay.hpp
parentshotty makes a sound (diff)
downloadthreshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.tar.gz
threshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.tar.bz2
threshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.tar.xz
threshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.tar.zst
threshold-b75a02c8f5c616eff6f21197c3e13056eefcb873.zip
add fury, bang sound, colors and more
Diffstat (limited to 'src/gameplay.hpp')
-rw-r--r--src/gameplay.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gameplay.hpp b/src/gameplay.hpp
index ccedb0e..168a83a 100644
--- a/src/gameplay.hpp
+++ b/src/gameplay.hpp
@@ -15,14 +15,17 @@
#include <vector>
#include <iostream>
+
+#define COOLPURPLE CLITERAL(Color){ 170, 153, 255, 255 } // cool Purple
+//rgb(170,153,255)
class Game {
- int nEnemies;
+ int nEnemies; // number of enemies on given level
std::vector<Entity> * enemies;
Entity * player;
- std::string next;
+ std::string next; // next level
public:
Game(std::string const & path);
@@ -34,7 +37,7 @@ class Game {
int getKeys() const ;
int shoot() const ;
- std::string const & getNext() const ;
+ std::string const & getNext() const ; // returns next level's string
};
#endif // GAMEPLAY_H_