summaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'map.h')
-rw-r--r--map.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/map.h b/map.h
new file mode 100644
index 0000000..018376f
--- /dev/null
+++ b/map.h
@@ -0,0 +1,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