ch.aplu.jgamegrid
Interface GGMouseListener

All Superinterfaces:
java.util.EventListener

public interface GGMouseListener
extends java.util.EventListener

Declarations of the notification method called by mouse events.
(Cannot be used with Jython's constructor callback registration)


Method Summary
 boolean mouseEvent(GGMouse mouse)
          Event callback method called when a mouse event occurs.
 

Method Detail

mouseEvent

boolean mouseEvent(GGMouse mouse)
Event callback method called when a mouse event occurs. The parameter is used to get the type of the mouse event and the current mouse cursor position.

Parameters:
mouse - the mouse reference to get to get information about the event
Returns:
true, if the event is consumed, so following listeners in the GGMouseListener sequence will not get the event