Working on teleports
This commit is contained in:
1 parent
b94f02bd77
commit
0ed7021e90
9 files changed
+60
-3
No files matched your search
@@ -20,6 +20,12 @@ struct TeleportZone {
|
||||
std::shared_ptr<Texture> activeTexture;
|
||||
std::shared_ptr<Texture> inactiveTexture;
|
||||
|
||||
bool automatic = false;
|
||||
float automaticRadius = 0.0f;
|
||||
// Runtime tracking — prevents re-firing immediately on arrival at destination.
|
||||
bool automaticPlayerInside = false;
|
||||
bool automaticInitialized = false;
|
||||
|
||||
void initSparks(std::shared_ptr<Texture> activeTex, std::shared_ptr<Texture> inactiveTex);
|
||||
void setActive(bool isActive);
|
||||
void update(float deltaMs);
|
||||
|
||||
Reference in new issue
Block a user