aboutsummaryrefslogtreecommitdiffstats
path: root/src/shooterScreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shooterScreen.h')
-rw-r--r--src/shooterScreen.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shooterScreen.h b/src/shooterScreen.h
index f077ee6..054af15 100644
--- a/src/shooterScreen.h
+++ b/src/shooterScreen.h
@@ -11,7 +11,7 @@
#define PLAYER_FALL_SPEED 20.0
#define PLAYER_JUMP_HEIGHT 8.0
-#define MOUSE_SPEED 0.01
+#define MOUSE_SPEED 0.005
#define SHOOTER_PENGUIN_COUNT 10
#define SHOOTER_PENGUIN_HEIGHT 1.0
@@ -36,10 +36,11 @@ typedef struct ShooterPlayer {
typedef struct ShooterPenguin {
Vector3 position;
Vector3 velocity;
- float sleepyness;
double changeSpeedDelay;
double lastVelocityChange;
+
+ bool isDead;
} ShooterPenguin;
typedef struct ShooterScreen {