added collision box/planet
This commit is contained in:
1 parent
ec30cbe810
commit
cda1c0de20
7 files changed
+200
-17
No files matched your search
+8
-1
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user