Ctrl+K

Strawberry.Components.Lifecycle Namespace

Documentation for types in the Strawberry.Components.Lifecycle namespace.

Classes

Type Description
Strawberry.Components.Lifecycle.CooldownComponent Implements a mechanism to manage cooldowns for actions, such as shooting a gun or jumping.
Strawberry.Components.Lifecycle.HealthComponent A component that manages the health of an entity and raises events when the health changes.
Strawberry.Components.Lifecycle.KillOutOfSceneComponent Kills the owner when it goes out of scene
Strawberry.Components.Lifecycle.KillOutOfViewportComponent Kills the owner when it goes out of a viewport
Strawberry.Components.Lifecycle.TimerComponent

Structs

Type Description
Strawberry.Components.Lifecycle.CooldownFinishedEvent This event occurs every time the cooldown is finished for an action.
Strawberry.Components.Lifecycle.DamagedEvent This event occurs every time an entity is damaged.
Strawberry.Components.Lifecycle.HealedEvent This event occurs every time an entity is healed.
Strawberry.Components.Lifecycle.KilledEvent This event occurs every time an entity gets killed. (The health of the HealthComponent reaches 0 or below)
Strawberry.Components.Lifecycle.TimerEndedEvent