コード例 #1
0
ファイル: BufferedMouse.cs プロジェクト: minskowl/MY
 /// <summary>Records a mouse cursor movement in the event queue</summary>
 /// <param name="x">X coordinate the mouse cursor has been moved to</param>
 /// <param name="y">Y coordinate the mouse cursor has been moved to</param>
 protected void BufferCursorMovement(float x, float y)
 {
     this.queuedEvents.Enqueue(MouseEvent.Movement(x, y));
 }