главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/clicker-ncurses.h
diff options
context:
space:
mode:
Diffstat (limited to 'clicker-ncurses.h')
-rw-r--r--clicker-ncurses.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/clicker-ncurses.h b/clicker-ncurses.h
new file mode 100644
index 0000000..b7c97c2
--- /dev/null
+++ b/clicker-ncurses.h
@@ -0,0 +1,14 @@
+struct game
+{
+ int click;
+ int multiplifier;
+ int score;
+};
+
+int get_score (struct game *game);
+void set_score (struct game *game, int score);
+
+int get_click (struct game *game);
+void set_click (struct game *game, int click);
+
+int get_multiplifier (struct game *game);