Пример #1
0
 /// <summary>
 /// MouseClick action which calls OnMouseClick() and print answer to the game console.
 /// </summary>
 /// <param name="sender">The sender of the action.</param>
 /// <param name="e">The arguments of the action.</param>
 private void GameActionClicked(object sender, Miyagi.Common.Events.MouseButtonEventArgs e)
 {
     Game.PrintToGameConsole(action.OnMouseClick());
 }