|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.event.MouseAdapter | +--tictactoe.PlaceListener
This class picks up mouse clicks and propogates them to a Player of the BoardGame.
To do: Implement better feedback.
Place
Constructor Summary | |
PlaceListener(tictactoe.Place place,
GameApplet applet)
|
Method Summary | |
void |
mouseClicked(java.awt.event.MouseEvent e)
When the mouse is clicked, we ask the current player to make the corresponding move. |
Methods inherited from class java.awt.event.MouseAdapter |
mouseEntered,
mouseExited,
mousePressed,
mouseReleased |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public PlaceListener(tictactoe.Place place, GameApplet applet)
Method Detail |
public void mouseClicked(java.awt.event.MouseEvent e)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |