From e3690eb85a9456cc1f3ccda751ae7d9fdf2d3b03 Mon Sep 17 00:00:00 2001 From: Hampus Date: Tue, 4 Jan 2022 18:55:51 +0100 Subject: refactor: improve even more --- src/position.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/position.h (limited to 'src/position.h') diff --git a/src/position.h b/src/position.h new file mode 100644 index 0000000..d1bc9eb --- /dev/null +++ b/src/position.h @@ -0,0 +1,13 @@ +#ifndef POSITION_H +#define POSITION_H + +typedef struct Position +{ + unsigned int x; + unsigned int y; +} Position; + +Position position_create(unsigned int x, unsigned int y); + +#endif + -- cgit v1.2.3-18-g5258