public class KeyboardHandler extends MapEventBroadcaster
eventDispatcher, maps
Constructor and Description |
---|
KeyboardHandler(processing.core.PApplet p,
java.util.List<UnfoldingMap> maps)
Creates a KeyboardHandler for the given maps.
|
KeyboardHandler(processing.core.PApplet p,
UnfoldingMap... maps)
Creates a KeyboardHandler for the given maps.
|
Modifier and Type | Method and Description |
---|---|
void |
keyEvent(processing.event.KeyEvent keyEvent) |
void |
keyPressed(char key,
int keyCode) |
void |
keyReleased(char key,
int keyCode) |
setEventDispatcher
public KeyboardHandler(processing.core.PApplet p, UnfoldingMap... maps)
p
- The PApplet.maps
- One or more maps.public KeyboardHandler(processing.core.PApplet p, java.util.List<UnfoldingMap> maps)
p
- The PApplet.maps
- A list of maps.