Skip to main content

Class: RemoveFromWorldStrategyComponent

Defined in: lifecycle/strategies/remove-from-world-strategy-component.ts:7

Strategy component that marks an entity to be removed from the world when its lifetime expires. This is a pure data component with no logic - it acts as a marker/tag.

Implements

Constructors

Constructor

new RemoveFromWorldStrategyComponent(): RemoveFromWorldStrategyComponent

Defined in: lifecycle/strategies/remove-from-world-strategy-component.ts:14

Creates an instance of the RemoveFromWorldStrategyComponent.

Returns

RemoveFromWorldStrategyComponent

Properties

name

name: symbol

Defined in: lifecycle/strategies/remove-from-world-strategy-component.ts:8

The unique name of the component.

Implementation of

Component.name


symbol

readonly static symbol: typeof symbol

Defined in: lifecycle/strategies/remove-from-world-strategy-component.ts:9