avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-game-battle-engine
/
io.github.lishangbu.avalon.game.battle.engine.core.registry
/
ConditionInterpreterRegistry
Condition
Interpreter
Registry
interface
ConditionInterpreterRegistry
条件解释器注册中心。
设计意图:
根据 condition type 查找对应解释器。
保持 DSL 条件系统可扩展。
Inheritors
InMemoryConditionInterpreterRegistry
Members
Functions
contains
Link copied to clipboard
abstract
fun
contains
(
type
:
ConditionTypeId
)
:
Boolean
判断指定条件类型是否已注册。
get
Link copied to clipboard
abstract
fun
get
(
type
:
ConditionTypeId
)
:
ConditionInterpreter
获取指定条件类型的解释器。