2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

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