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.handler
/
SpecialHandler
Special
Handler
interface
SpecialHandler
特例处理器接口。
设计意图:
为无法由通用 DSL 表达的机制提供显式实现入口。
让特例逻辑仍然通过统一协议接入引擎。
Members
Properties
id
Link copied to clipboard
abstract
val
id
:
SpecialHandlerId
当前 handler 的注册标识。
Functions
execute
Link copied to clipboard
abstract
fun
execute
(
context
:
EventContext
)
:
ActionResult
在给定上下文中执行特例逻辑。