Package | Description |
---|---|
org.cell2d | |
org.cell2d.control |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Control> |
CellGame.getControlsFor(int commandNum)
Returns an unmodifiable Set view of all of the Controls that are bound to
the specified command.
|
Modifier and Type | Method and Description |
---|---|
void |
CellGame.bindControl(int commandNum,
Control control)
Binds the specified Control to the specified command.
|
void |
CellGame.unbindControl(Control control)
Unbinds the specified Control from its command, if it is bound to one.
|
Modifier and Type | Class and Description |
---|---|
class |
ControllerButtonControl
A ControllerButtonControl is a ControllerControl that represents a button
on a game controller.
|
class |
ControllerControl
A ControllerControl is a Control that represents an input on a game
controller.
|
class |
ControllerDirectionControl
A ControllerDirectionControl is a ControllerControl that represents a
Direction - up, down, left, or right - in which the primary axes of a game
controller can be moved.
|
class |
KeyControl
A KeyControl is a Control that represents a key on the keyboard.
|
class |
MouseButtonControl
A MouseButtonControl is a Control that represents a button on the mouse.
|
Modifier and Type | Method and Description |
---|---|
static Control |
Control.getControl(java.lang.String name)
Returns a Control whose name according to getName() is the specified
String, or null if no Control has that String as a name.
|