summaryrefslogtreecommitdiff
path: root/src/star.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/star.h')
-rw-r--r--src/star.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/star.h b/src/star.h
index 7de8e8e..2d2774d 100644
--- a/src/star.h
+++ b/src/star.h
@@ -5,9 +5,10 @@ typedef struct Star {
Vector2 size, renderPosition;
float velocity;
Color color;
+ Texture *texture;
} Star;
-Star StarCreate();
+Star StarCreate(Texture *texture);
void StarUpdate(Star *star, float screen_center_x, float screen_center_y);
Vector3 Generate3DPosition();