rocket.hpp 413 B

123456789101112131415161718192021222324252627
  1. /* This file is part of Invaders.
  2. *
  3. * Copyright (C) 2020 LCM.
  4. * You may use, distribute and modify Invaders under the terms of the
  5. * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
  6. */
  7. #ifndef _rocket_
  8. #define _rocket_
  9. #include "bullet.hpp"
  10. #include "definitions.hpp"
  11. class rocket : public bullet
  12. {
  13. public:
  14. rocket(int X,int Y,int V);
  15. ~rocket() {}
  16. void next_pos();
  17. int v;
  18. };
  19. #endif