supercasiobros/src/box.h

22 lines
228 B
C
Executable File

#ifndef BOX_H
#define BOX_H
typedef struct
{
int x;
int y;
int w;
int h;
int vx;
int vy;
int gravity;
//int is_mario;
} box_t;
int box_move(box_t * b);
int box_jump(box_t * b, int height); // hauteur du saut
#endif