1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once #include "movinggameobject.h" using namespace std; class Shot : public MovingGameObject { public: Shot(float pos_x, float pos_y, float size_x, float size_y, float orientation, string texture, float speed); virtual ~Shot(); void update(); };