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