

Report as inappropriate.
This mouse class (download code and use for yourself, please) allows you to test many things that the Greenfoot MouseInfo class just doesn't do that great. It has
clicked()
pressed()
hovering()
and more methods to test mouse information. The best part is that all methods are static, so no need to create and update the mouse - just call Mouse.whateverMethod() and it will give the answer.
Please, enjoy!
Want to leave a comment? You must first log in.
No votes yet.
No Comments