mhframework.event
Class MHMouseMotionListener

java.lang.Object
  extended by mhframework.event.MHMouseMotionListener
All Implemented Interfaces:
java.awt.event.MouseMotionListener, java.util.EventListener

public class MHMouseMotionListener
extends java.lang.Object
implements java.awt.event.MouseMotionListener

Mouse motion listener for the games made with the MHFramework package.


Constructor Summary
MHMouseMotionListener(MHGameApplication app)
          Constructor.
 
Method Summary
 void mouseDragged(java.awt.event.MouseEvent e)
          Not currently implemented.
 void mouseMoved(java.awt.event.MouseEvent e)
          Sends Mouse Moved events to the game application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MHMouseMotionListener

public MHMouseMotionListener(MHGameApplication app)
Constructor.

Parameters:
app - The MHGameApplication object for whom we are handling mouse motion events.
Method Detail

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Not currently implemented.

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Sends Mouse Moved events to the game application.

Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener
Parameters:
e - The mouse event that triggered a call to this method.