Exemplo n.º 1
0
 public static bool RightClickInTexture(Texture2D tex, Vector2 offset) => (RightClick() && Simplex.OffsettedTexture(tex, offset).Contains(Mouse.GetState().Position.ToVector2()));
Exemplo n.º 2
0
 public static bool MouseHoverOverTex(Texture2D tex, Vector2 offset) => (Simplex.OffsettedTexture(tex, offset).Contains(Mouse.GetState().Position.ToVector2()));