1 2 3 4 5 6 7 8 9
using Microsoft.Xna.Framework; using MonoGame.Extended.Input; namespace Celesteia.UI.Elements { public interface IClickable : IElement { void OnMouseDown(MouseButton button, Point position); void OnMouseUp(MouseButton button, Point position); } }