类 GameFlowEventHandler

java.lang.Object
com.iohao.game.widget.light.room.domain.GameFlowEventHandler
所有已实现的接口:
DomainEventHandler<GameFlowEo>

public final class GameFlowEventHandler extends Object implements DomainEventHandler<GameFlowEo>
EventHandler,消费 GameFlowEo

将 GameFlowEventHandler 添加到 DomainEventContext 中


         // 领域事件上下文参数
         DomainEventContextParam contextParam = new DomainEventContextParam();
         // 游戏流程相关
         contextParam.addEventHandler(new GameFlowEventHandler());

         // 启动事件驱动
         DomainEventContext domainEventContext = new DomainEventContext(contextParam);
         domainEventContext.startup();
 

 
从以下版本开始:
21.8
作者:
渔民小镇
另请参阅:
日期:
2024-05-12
  • 构造器详细资料

    • GameFlowEventHandler

      public GameFlowEventHandler()
  • 方法详细资料