#ifndef components_h #define components_h #include "asset.h" #include "rect.h" typedef struct { int x, y; } CPosition; typedef struct { Asset_ID id; Rectangle rect; } CSprite; typedef enum { ctype_sprite = 1 << 0, ctype_position = 1 << 1 } CType; #endif