Wall.h 323 B

123456789101112131415161718192021
  1. //
  2. // Created by jovian on 18/07/17.
  3. //
  4. #ifndef TINYSHOOTER_WALL_H
  5. #define TINYSHOOTER_WALL_H
  6. #include "Entity.h"
  7. enum WallShape {TINY, HIGH, WIDE, BIG};
  8. class Wall : public Entity {
  9. public :
  10. Wall(b2Vec2 pos, b2World* physics, WallShape shape = TINY);
  11. void update() override;
  12. };
  13. #endif //TINYSHOOTER_WALL_H