added collision box/planet

This commit is contained in:
Vlad committed 2026-01-13 19:09:06 +06:00
1 parent ec30cbe810
commit cda1c0de20
7 files changed
+200 -17

No files matched your search

+8 -1
View File
@@ -100,6 +100,7 @@ namespace ZL {
SparkEmitter sparkEmitter;
SparkEmitter projectileEmitter;
SparkEmitter explosionEmitter;
PlanetObject planetObject;
UiManager uiManager;
@@ -112,7 +113,13 @@ namespace ZL {
TaskManager taskManager;
bool shipAlive = true;
bool gameOver = false;
std::vector<bool> boxAlive;
float shipCollisionRadius = 3.5f;
float boxCollisionRadius = 2.0f;
bool uiGameOverShown = false;
bool showExplosion = false;
};