diff options
Diffstat (limited to 'src/position.c')
-rw-r--r-- | src/position.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/position.c b/src/position.c new file mode 100644 index 0000000..937edd5 --- /dev/null +++ b/src/position.c @@ -0,0 +1,9 @@ +#include "position.h" + +Position position_create(unsigned int x, unsigned int y) +{ + Position pos = {.x = x, .y = y}; + + return pos; +} + |