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