blob: 8a97e54e92089970f1acf3eba5cb29172ed2b8b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef BALL_H
#define BALL_H
#include "SDL.h"
#include "SDL_image.h"
typedef struct {
SDL_Surface * Surface;
SDL_Rect Rect;
Sint8 xv;
Sint8 yv;
Uint8 absolute;
Uint8 counter;
} Ball_t;
Ball_t * CreateBall(const char * image);
void DrawBall(Ball_t * Ball);
void DeleteBall(Ball_t * Ball);
#endif
|