FlappyBird/pipe.h

16 lines
193 B
C

#ifndef _H_PIPE
#define _H_PIPE
#include <stdlib.h>
#include "config.h"
typedef struct {
int pos_x;
int pos_y;
int height;
} pipe;
pipe* pipe_create();
void pipe_destroy(pipe* p);
#endif