2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
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.
 
 
 
 
 
 

17 lines
316 B

  1. #ifndef IZ_ENTITY_H
  2. #define IZ_ENTITY_H
  3. #include <stdlib.h>
  4. #include "../geometry/IZ_vector2d.h"
  5. typedef struct {
  6. IZ_Vector2D pos;
  7. IZ_Vector2D speed;
  8. // TODO object appearance (sprite, sprites contain bounding boxes, collisions contain bounding boxes)
  9. } IZ_Entity;
  10. IZ_Entity* IZ_EntityNew(IZ_Entity);
  11. #endif