aboutsummaryrefslogtreecommitdiffstats
path: root/src/clicky.h
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-03-15 16:44:42 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-03-15 16:44:42 +0000
commit9d14163ea278171f96d0be0aa4e911f485befaf9 (patch)
tree2c008eeabe8e5366b5fd1f284742eefee0266b6f /src/clicky.h
parenta82d43089143337524c90b6e2d9df174466abdcb (diff)
downloadPenguinYippies-9d14163ea278171f96d0be0aa4e911f485befaf9.tar.gz
PenguinYippies-9d14163ea278171f96d0be0aa4e911f485befaf9.tar.bz2
PenguinYippies-9d14163ea278171f96d0be0aa4e911f485befaf9.zip
Going pretty well
Diffstat (limited to 'src/clicky.h')
-rw-r--r--src/clicky.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/clicky.h b/src/clicky.h
index e38ecdf..8fb339d 100644
--- a/src/clicky.h
+++ b/src/clicky.h
@@ -12,8 +12,15 @@ typedef struct Clicky Clicky;
typedef void (*ClickyUpdateCB)(Game* game, Clicky* clicky);
typedef void (*ClickyFreeCB)(Clicky clicky);
+typedef enum ClickyType {
+ PENGUIN_LOL_TYPE,
+ CLICKER_TYPE
+} ClickyType;
+
// A fixable clicky clicky. There shall be many clicky clickies.
typedef struct Clicky {
+ ClickyType type;
+
Animation animation;
Texture* texture;
Rectangle rect;