body.hpp 398 B

123456789101112131415161718192021222324
  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 _body_hpp
  8. #define _body_hpp
  9. #include "definitions.hpp"
  10. class body
  11. {
  12. public:
  13. body(){ width=0; height=0; }
  14. body(int w, int h) { width=w; height=h; }
  15. int width, height;
  16. };
  17. #endif