summaryrefslogtreecommitdiff
path: root/counter.h
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2023-10-12 21:58:15 -0500
committercitrons <citrons@mondecitronne.com>2023-10-12 21:58:15 -0500
commit93419ee676afecc3d8647cd27fc9504221d6353d (patch)
treea3c60f2d66493754103e3653d58690120f1c6cb3 /counter.h
parent5ff2902259cc135375f526005a79d1e8cd83816b (diff)
display count of objects collected
Diffstat (limited to 'counter.h')
-rw-r--r--counter.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/counter.h b/counter.h
new file mode 100644
index 0000000..7dcb97c
--- /dev/null
+++ b/counter.h
@@ -0,0 +1,10 @@
+#ifndef COUNTER_H
+#define COUNTER_H
+
+#include <SDL.h>
+
+int draw_counter(SDL_Renderer *rend,
+ SDL_Point screen_pos, double size, SDL_Color color,
+ int number, int digits);
+
+#endif