Skip to content

@ue-too/board-game-engine / index / TypeModificationEffect

Class: TypeModificationEffect<T> ​

Defined in: action-system/effect.ts:156

Type Parameters ​

T ​

T extends string

Implements ​

Constructors ​

Constructor ​

new TypeModificationEffect<T>(coordinator, componentName, entity, valuePath, newType, allowedValues?): TypeModificationEffect<T>

Defined in: action-system/effect.ts:164

Parameters ​

coordinator ​

Coordinator

componentName ​

symbol

entity ​

number

valuePath ​

string

newType ​

T

allowedValues? ​

readonly T[]

Returns ​

TypeModificationEffect<T>

Methods ​

apply() ​

apply(): void

Defined in: action-system/effect.ts:180

Returns ​

void

Implementation of ​

Effect.apply