Interface IUsableActionsDynamicConfig<DEFINITION, REQUIREMENTS>
Hierarchy
- IUsableActionsDynamicConfig
Properties
id
id: string
record
record
: PartialRecord<ActionType, false | DEFINITION>
Methods
execute
- execute(action: ActionType, player: default, using: IUsableActionUsing<REQUIREMENTS>, definition?: DEFINITION): any
-
Parameters
-
-
-
-
Optional
definition: DEFINITION
Returns any
getDynamic
- getDynamic(actions: Set<ActionType>): any
-
Returns any
Optional
priority
- priority(action: ActionType, using: IUsableActionPossibleUsing, definition?: DEFINITION): undefined | number
-
Parameters
-
-
-
Optional
definition: DEFINITION
Returns undefined | number
Optional
requirements
- requirements(action: ActionType, definition?: DEFINITION): REQUIREMENTS
-
Parameters
-
-
Optional
definition: DEFINITION
Returns REQUIREMENTS