|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinteractors.Interactor
interactors.RecordingInteractor
public class RecordingInteractor
Interactor for playing replays. The purpose of the interaction is to prevent users from modifying the map.
Field Summary |
---|
Fields inherited from class interactors.Interactor |
---|
handler |
Constructor Summary | |
---|---|
RecordingInteractor(InteractionHandler handler)
Constructs the recording interactor |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D g)
Not implemented. |
java.awt.Cursor |
getCursor()
Gets the recording cursor. |
void |
keyPressed(java.awt.event.KeyEvent arg0)
Not implemented. |
void |
keyReleased(java.awt.event.KeyEvent arg0)
Not implemented. |
void |
mouseDragged(java.awt.event.MouseEvent arg0)
Not implemented. |
void |
mouseMoved(java.awt.event.MouseEvent arg0)
Not implemented. |
void |
mousePressed(java.awt.event.MouseEvent arg0)
Not implemented. |
void |
mouseReleased(java.awt.event.MouseEvent arg0)
Not implemented. |
void |
startInteraction()
Not implemented. |
Methods inherited from class interactors.Interactor |
---|
draw, endInteraction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordingInteractor(InteractionHandler handler)
handler
- - the interaction handlerMethod Detail |
---|
public java.awt.Cursor getCursor()
getCursor
in class Interactor
public void startInteraction()
startInteraction
in class Interactor
public void keyPressed(java.awt.event.KeyEvent arg0)
keyPressed
in class Interactor
public void keyReleased(java.awt.event.KeyEvent arg0)
keyReleased
in class Interactor
public void mousePressed(java.awt.event.MouseEvent arg0)
mousePressed
in class Interactor
public void mouseReleased(java.awt.event.MouseEvent arg0)
mouseReleased
in class Interactor
public void mouseDragged(java.awt.event.MouseEvent arg0)
mouseDragged
in class Interactor
public void mouseMoved(java.awt.event.MouseEvent arg0)
mouseMoved
in class Interactor
public void draw(java.awt.Graphics2D g)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |