summaryrefslogtreecommitdiff
path: root/map.h
blob: 018376ff091a25d37391be234d3fd30e65b57d27 (plain)
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