diff options
author | Aki <please@ignore.pl> | 2022-04-17 14:03:10 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-17 14:03:10 +0200 |
commit | 85119293fe4f6814d44e8ee3f182c40876829128 (patch) | |
tree | 646c7b0f1be3aebed67a8b019092c72134087368 /GameScreen.h | |
parent | a0705fcd7b51401b45ff9960a81c08520f142230 (diff) | |
download | bullethell2022-85119293fe4f6814d44e8ee3f182c40876829128.zip bullethell2022-85119293fe4f6814d44e8ee3f182c40876829128.tar.gz bullethell2022-85119293fe4f6814d44e8ee3f182c40876829128.tar.bz2 |
Added sample bullet and some generation
Diffstat (limited to 'GameScreen.h')
-rw-r--r-- | GameScreen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GameScreen.h b/GameScreen.h index 47a80d1..3555a6f 100644 --- a/GameScreen.h +++ b/GameScreen.h @@ -2,6 +2,7 @@ #include <raylib.h> +#include "Bullets.h" #include "Screen.h" @@ -12,5 +13,8 @@ public: void update(float dt) override; void draw() override; private: + static constexpr float TEST_INTERVAL {0.24f}; + float m_delay; Vector2 m_pos; + std::vector<ConstantVelocityBullet> m_const_bullets; }; |