snek_vs_snacc/field.h

13 lines
278 B
C

#ifndef _FIELD_H_
#define _FIELD_H_
void redraw_field(FIELD* f);
void init_field(FIELD* f, int width, int height, GAME_STATE* state);
void add_ball(FIELD* f, int max_value);
void destroy_field(FIELD* f);
void update_ballpos(FIELD* f);
void update_playerpos(FIELD* f);
#endif