Class DamageSystems.CanBreathe

All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>, TickableSystem<EntityStore>
Enclosing class:
DamageSystems

public static class DamageSystems.CanBreathe extends DelayedEntitySystem<EntityStore>
A system that handles applying damage to an entity if the entity has run out of oxygen.

Reads the suffocation state from the entity's BreathingComponent, which is managed by the DamageSystems.BreathingSystem.