Starter project for SDL2.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
241 B

  1. #ifndef IZ_OBJECT_H
  2. #define IZ_OBJECT_H
  3. #include "../geometry/IZ_vector2d.h"
  4. #include "../geometry/IZ_rect.h"
  5. #include "IZ_entity.h"
  6. typedef struct {
  7. IZ_Entity as_entity;
  8. IZ_Rect collision_rect;
  9. IZ_Vector2D speed;
  10. } IZ_Object;
  11. #endif