1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#pragma once #include <vector> #include "ConstantVelocity.h" #include "Enemy.h" #include "Player.h" #include "Stage.h" class TestStage : public Stage { public: TestStage(); void update(float dt) override; void draw() override; int total_bullets() const override; private: Player m_player; ConstantVelocitySystem m_const; std::vector<Enemy> m_enemies; };