@ue-too/board-game-engine / index / TypeModificationEffect
類別: TypeModificationEffect<T>
定義於: action-system/effect.ts:156
型別參數
T
T extends string
實作
建構函式
建構函式
new TypeModificationEffect<
T>(coordinator,componentName,entity,valuePath,newType,allowedValues?):TypeModificationEffect<T>
定義於: action-system/effect.ts:164
參數
coordinator
Coordinator
componentName
symbol
entity
number
valuePath
string
newType
T
allowedValues?
readonly T[]
回傳
TypeModificationEffect<T>
方法
apply()
apply():
void
定義於: action-system/effect.ts:180
回傳
void