|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Gizmo | |
|---|---|
| gizmoball.board | |
| Uses of Gizmo in gizmoball.board |
|---|
| Subclasses of Gizmo in gizmoball.board | |
|---|---|
class |
Absorber
This class represents an absorber gizmo that extends the abstract gizmo class. |
class |
Ball
This class represents a ball gizmo that extends the abstract Gizmo class. |
class |
Bumper
This class represents a bumper gizmo, such as a square bumper, that extends the abstract Gizmo class. |
class |
ExtenderGizmo
This class represents an extender gizmo that extends the abstract Gizmo class. |
class |
RotatingGizmo
This class represents a rotating gizmo, such as a flipper, that extends the abstract Gizmo class. |
| Fields in gizmoball.board with type parameters of type Gizmo | |
|---|---|
protected java.util.ArrayList<Gizmo> |
Gizmo.connections
|
protected java.util.ArrayList<Gizmo> |
Gizmo.reverseConnections
|
| Methods in gizmoball.board that return Gizmo | |
|---|---|
Gizmo |
GizmoBoard.getGizmo(java.lang.String n)
returns the gizmo with the specified name that is on the board. |
| Methods in gizmoball.board that return types with arguments of type Gizmo | |
|---|---|
java.util.List<Gizmo> |
GizmoBoard.getDrawableGizmos()
returns all the gizmos that are to be drawn. |
java.util.List<Gizmo> |
GizmoBoard.getGizmoAt(Vect pt)
returns a list of gizmos that are at the location specified. |
java.util.List<Gizmo> |
GizmoBoard.getKeyDownGizmos(java.lang.Integer key)
returns the list of gizmos that are triggered by the specified key when pressed. |
java.util.List<Gizmo> |
GizmoBoard.getKeyUpGizmos(java.lang.Integer key)
returns the list of gizmos that are triggered by the specified key when released. |
java.util.List<Gizmo> |
GizmoBoard.getStationaryGizmos()
returns a list of all the stationary objects that are on the board. |
java.util.List<Gizmo> |
GizmoBoard.getStationaryGizmosAt(int x,
int y)
returns the stationary gizmos that intersect with the LxL square that its upper-left vertex is at (x*L,y*L). |
java.util.List<Gizmo> |
Gizmo.getTriggeredGizmos()
returns a list of gizmos that this gizmo triggers. |
java.util.List<Gizmo> |
Gizmo.getTriggeringGizmos()
returns a list of gizmos that triggers this gizmo. |
| Methods in gizmoball.board with parameters of type Gizmo | |
|---|---|
boolean |
GizmoBoard.addConnection(Gizmo source,
Gizmo target)
adds a connection between two gizmos that are on the board. |
void |
GizmoBoard.addKeyDownTriggerToGizmo(java.lang.Integer key,
Gizmo g)
adds a down keyboard trigger to the specified gizmo. |
void |
GizmoBoard.addKeyUpTriggerToGizmo(java.lang.Integer key,
Gizmo g)
adds an up keyboard trigger to the specified gizmo. |
boolean |
GizmoBoard.canMoveGizmo(Gizmo g,
Vect vector)
|
boolean |
GizmoBoard.canRotateGizmo(Gizmo g,
Angle angle,
Vect centerOfRotation)
checks if the given gizmo can rotate by the given angle and around the given center of rotation. |
boolean |
GizmoBoard.contains(Gizmo giz)
checks if a board contains a given gizmo. |
void |
GizmoBoard.deleteGizmo(Gizmo g)
removes the given gizmo from the board. |
void |
GizmoBoard.deleteKeyDownTriggerToGizmo(java.lang.Integer key,
Gizmo g)
removes a press key connection from the given key to the given gizmo |
void |
GizmoBoard.deleteKeyUpTriggerToGizmo(java.lang.Integer key,
Gizmo g)
removes a release key connection from the given key to the given gizmo |
boolean |
GizmoBoard.moveGizmo(Gizmo g,
Vect vector)
|
boolean |
GizmoBoard.removeConnection(Gizmo source,
Gizmo target)
removes a connection between two gizmos that are on the board. |
void |
GizmoBoard.RotateGizmo(Gizmo g,
Angle angle,
Vect centerOfRotation)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||