/// <summary> /// GameLoop 的构造函数(初始化,设置 handler) /// </summary> public GameLooper(IGameLoopHandler handler) { handler.GameLooper = this; this._handler = handler; this.Init(); }
public GameEngine(IGameLoopHandler gameLoopHandler, IGameNetwork gameNetwork) { this.gameLoopHandler = gameLoopHandler; this.gameNetwork = gameNetwork; }