wyvern.lib.properties
Interface MouseInterest

All Known Implementing Classes:
Checkers, Chess, DisplayCase, MonsterImpl, SokobanLevel

public interface MouseInterest

The listener interface for receiving mouse events.

Version:
1.0, Mar 10, 1999
Author:
Steve Yegge

Method Summary
 void mouseClicked(MouseCommandEvent event)
          Called when an agent clicks the mouse (any button) over the object.
 

Method Detail

mouseClicked

public void mouseClicked(MouseCommandEvent event)
Called when an agent clicks the mouse (any button) over the object. Use event.consume() if you don't want the mouse event to continue being processed by other objects.

Parameters:
event - the command event. event.getAgent() will return the Player who clicked the mouse.