public class CameraEffectSystem extends DamageEventSystem
System for handling cameraeffect mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > DamageEventSystem > CameraEffectSystem
Field Summary
entityStatMapComponent
final
EntityStatMap
entityStatMapComponent
Field entityStatMapComponent.
healthStat
final
EntityStatValue
healthStat
Field healthStat.
health
final
float
health
Field health.
playerRefComponent
final
PlayerRef
playerRefComponent
Field playerRefComponent.
world
final
World
world
Field world.
cameraEffectsConfig
final
CameraEffectsConfig
cameraEffectsConfig
Field cameraEffectsConfig.
effect
final
Damage.CameraEffect
effect
Field effect.
effectIndex
final
int
effectIndex
Field effectIndex.
cameraEffect
final
CameraEffect
cameraEffect
Field cameraEffect.
intensity
final
float
intensity
Field intensity.
Method Detail
handle
public
void
handle
(final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer, @Nonnull final Damage damage)
Method handle.
- Parameters:
final intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer@Nonnull final Damagedamage