|
group2 0.1.0
CSE 125 Group 2
|
A burning area on the ground that damages players standing in it. More...
#include <FireField.hpp>
Public Attributes | |
| glm::vec3 | position {0.0f} |
| World-space center. | |
| float | radius = 0.0f |
| AoE radius (u). | |
| float | remaining = 0.0f |
| Seconds left until field is destroyed. | |
| float | dps = 0.0f |
| Damage per second to players inside. | |
| float | tickAccumulator = 0.0f |
| Sub-tick accumulator for fixed-rate damage application. | |
| entt::entity | owner = entt::null |
| Caused-by entity (for kill credit + self-damage scaling). | |
A burning area on the ground that damages players standing in it.
Server-side authority: damage applied by FireSystem each tick. Replicated to clients so they can render fire VFX (Task 12).
| float FireField::dps = 0.0f |
Damage per second to players inside.
| entt::entity FireField::owner = entt::null |
Caused-by entity (for kill credit + self-damage scaling).
| glm::vec3 FireField::position {0.0f} |
World-space center.
| float FireField::radius = 0.0f |
AoE radius (u).
| float FireField::remaining = 0.0f |
Seconds left until field is destroyed.
| float FireField::tickAccumulator = 0.0f |
Sub-tick accumulator for fixed-rate damage application.