Pickups.h (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
typedef struct pickup { int x; int y; int vX; int vY; SDL_Surface* sprite; int points; } Pickup; Pickup* newPickup(); void managePickups(); void movePickup(Pickup* self); void drawPickup(Pickup* self); void invalidatePickup(Pickup* self); void getPickup(Pickup* self); void cleanPickups(); |