コード例 #1
0
ファイル: ViewController.cs プロジェクト: chamons/TurtleMover
 public override void MouseDown(NSEvent theEvent)
 {
     Game.OnClick(GetPositionFromEvent(theEvent));
 }
コード例 #2
0
 void OnPlatformMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     System.Windows.Point p = e.GetPosition(null);
     Game.OnClick(new TurtleInterface.Point((int)p.X, (int)p.Y));
 }