/// <summary>
 /// 注册接口
 /// </summary>
 /// <param name="trigger"></param>
 protected override void OnRegisteGameLoopEvent(GameLoopTrigger trigger)
 {
     trigger.RegisteUpdate(OnUpdate, 0);
 }
 protected override void DefineGameLoopInterfaces(GameLoopTrigger eventer)
 {
     eventer.RegisteUpdate(OnUpdate, 2);
 }
Exemple #3
0
 protected abstract void DefineGameLoopInterfaces(GameLoopTrigger eventer);
 protected override void OnRegisteGameLoopEvent(GameLoopTrigger trigger)
 {
 }
 protected abstract void OnRegisteGameLoopEvent(GameLoopTrigger trigger);