katbug/Pickups.h
2019-02-04 13:24:24 -08:00

19 lines
No EOL
304 B
C

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();