|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgizmoball.gameworld.GameObject
gizmoball.gameworld.Gizmo
gizmoball.gameworld.gameobjects.RectangleBumperGizmo
public class RectangleBumperGizmo
A RectangleBumperGizmo is a rectangle.
rectangle
: rectangle // the underlying rectangleField Summary |
---|
Fields inherited from class gizmoball.gameworld.Gizmo |
---|
orientation, totalTranslation |
Constructor Summary | |
---|---|
RectangleBumperGizmo(Vect3 corner1,
Vect3 corner2)
Creates a RectangleBumperGizmo with opposite corners at corner1 and corner2 |
Method Summary | |
---|---|
void |
doActivate()
A RectangleBumperGizmo does nothing upon activation |
protected void |
doUpdate(double dt)
The same as GameObject.update(). |
GraphicsProperties |
getGraphicsProperties()
Returns an object that holds the information necessary for drawing this object. |
PhysicsModel |
getPhysicsModel()
Returns the physical model of this gizmo. |
java.lang.String |
getXMLString(java.lang.String name)
returns the XML string that would be used to save this game object |
Methods inherited from class gizmoball.gameworld.Gizmo |
---|
activate, copy, getBoundingBox, getCoeffReflectionString, getColorString, getCommonAttributesString, getDefaultTriggers, getOrientationDoubleString, getOrientationString, getReflectionCoeff, getTextureString, getTranslationString, getXMLDelay, getXMLDelayString, rotateAboutAxis, setCoefficientOfReflection, setCommonAttributes, setDelay, translateBy, update |
Methods inherited from class gizmoball.gameworld.GameObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RectangleBumperGizmo(Vect3 corner1, Vect3 corner2)
corner1
- one of the cornerscorner2
- the opposite cornerMethod Detail |
---|
public void doActivate()
doActivate
in class Gizmo
protected void doUpdate(double dt)
Gizmo
doUpdate
in class Gizmo
public PhysicsModel getPhysicsModel()
Gizmo
getPhysicsModel
in class Gizmo
public java.lang.String getXMLString(java.lang.String name)
GameObject
getXMLString
in class GameObject
public GraphicsProperties getGraphicsProperties()
GameObject
getGraphicsProperties
in class GameObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |