public override void PrepareToRun(MainLoop mainLoop, Action <KeyEvent> keyHandler, Action <MouseEvent> mouseHandler) { this.keyHandler = keyHandler; this.mouseHandler = mouseHandler; }
void IMainLoopDriver.Setup(MainLoop mainLoop) { this.mainLoop = mainLoop; }
public MainLoopSyncContext(MainLoop mainLoop) { this.mainLoop = mainLoop; }
void IMainLoopDriver.Setup(MainLoop mainLoop) { this.mainLoop = mainLoop; Task.Run(KeyReader); Task.Run(CheckWinChange); }
public abstract void PrepareToRun(MainLoop mainLoop, Action <KeyEvent> keyHandler, Action <MouseEvent> mouseHandler);