17 lines
211 B
C
17 lines
211 B
C
|
#ifndef _H_BIRD
|
||
|
#define _H_BIRD
|
||
|
|
||
|
#include <stdlib.h>
|
||
|
#include "config.h"
|
||
|
|
||
|
typedef struct{
|
||
|
float pos_x;
|
||
|
float pos_y;
|
||
|
float vel_x;
|
||
|
float vel_y;
|
||
|
} bird;
|
||
|
|
||
|
bird* bird_create();
|
||
|
void bird_destroy(bird* b);
|
||
|
|
||
|
#endif
|