2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

17 строки
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