Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: MouseEvent problems  (Read 6345 times)

0 Members and 1 Guest are viewing this topic.

white2demon

  • Newbie
  • *
  • Posts: 5
    • View Profile
MouseEvent problems
« on: January 21, 2015, 02:35:48 pm »
Pls example use MouseEvent in java code.
I need that when I clicked on the field the action is. How to track a click of the mouse?

liesard

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Re: MouseEvent problems
« Reply #1 on: January 22, 2015, 03:34:11 pm »
You can read the GitHub tutorial on it here: https://github.com/pdinklag/JSFML/wiki/Input
You can also read the Javadoc here: http://jsfml.org/javadoc/org/jsfml/window/Mouse.html and here: http://jsfml.org/javadoc/org/jsfml/window/event/Event.html

Remember: the fun of programming is trying things out and solving problems.  Google around before asking on a forum