1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef MAP_H #define MAP_H typedef struct Point { int x; int y; } Point; typedef struct Map { Point fruit; unsigned int height; unsigned int width; } Map; Map createMap(unsigned int width, unsigned int height); #endif