FlappyBird/pipe.h

16 lines
193 B
C
Raw Permalink Normal View History

2022-12-21 07:55:05 +00:00
#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