fr.umlv.lawrence
Interface InputListener
- All Superinterfaces:
- EventListener
public interface InputListener
- extends EventListener
|
Method Summary |
void |
keyTyped(int x,
int y,
Key keyCode)
Indicates that a key was pressed |
void |
mouseClicked(int x,
int y,
int button)
Indicates that a cell was clicked |
mouseClicked
void mouseClicked(int x,
int y,
int button)
- Indicates that a cell was clicked
- Parameters:
x - the x coordinate of the celly - the y coordinate of the cellbutton - the number of the pressed button
keyTyped
void keyTyped(int x,
int y,
Key keyCode)
- Indicates that a key was pressed
- Parameters:
x - the x coordinate of the cell where the cursor was when the key was pressedy - the y coordinate of the cell where the cursor was when the key was pressedkeyCode - Which key was pressed