19 lines
No EOL
304 B
C
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(); |