|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of KeyMap.Action in javoids |
---|
Fields in javoids with type parameters of type KeyMap.Action | |
---|---|
protected java.util.Hashtable<KeyMap.Action,java.lang.Integer> |
KeyMap.actionKey
a mapping of actions to key codes |
protected static java.util.Hashtable<KeyMap.Action,java.lang.String> |
KeyMap.actionMnemonic
a mapping of an action to a mnemonic |
private static java.util.HashSet<KeyMap.Action> |
KeyMap.actions
the valid actions |
protected java.util.Hashtable<java.lang.Integer,KeyMap.Action> |
KeyMap.keyAction
a mapping of key codes to actions |
private static java.util.Hashtable<java.lang.String,KeyMap.Action> |
KeyMap.mnemonicAction
a mapping of mnemonic to an action |
private java.util.Set<KeyMap.Action> |
KeyMap.pressedButtons
a set of actions to perform |
Methods in javoids that return KeyMap.Action | |
---|---|
KeyMap.Action |
KeyMap.getAction(java.lang.Integer key)
|
static KeyMap.Action |
KeyMap.getAction(java.lang.String mnemonic)
|
static KeyMap.Action |
KeyMap.Action.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static KeyMap.Action[] |
KeyMap.Action.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods in javoids that return types with arguments of type KeyMap.Action | |
---|---|
java.util.Collection<KeyMap.Action> |
KeyMap.getActions()
|
java.util.Collection<KeyMap.Action> |
KeyMap.pressedButtons()
|
Methods in javoids with parameters of type KeyMap.Action | |
---|---|
static boolean |
KeyMap.containsActionMnemonic(KeyMap.Action action)
|
void |
KeyMap.depressMouse(KeyMap.Action action)
Remove an action from the list of mouse buttons that were pressed (to stop processing the action) |
static java.lang.String |
KeyMap.getMnemonic(KeyMap.Action action)
|
void |
Ship.performAction(KeyMap.Action action,
SpriteVector<Ship> ships,
SpriteVector<Bullet> bullets,
SpriteVector<Mine> mines,
SpriteVector<Javoid> javoids,
SpriteVector<Explosion> explosions)
Perform a sepcified action |
void |
KeyMap.pressMouse(KeyMap.Action action)
Add an action to the list of mouse buttons that were pressed (for processing actions) |
void |
KeyMap.putAction(java.lang.Integer key,
KeyMap.Action action)
|
static void |
KeyMap.putMnemonicAction(java.lang.String mnemonic,
KeyMap.Action action)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |