2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

17 lignes
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