|
|||||||||
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.CubeBumperGizmo
public class CubeBumperGizmo
A CubeBumperGizmo is simply an immobile cube
cube
: cube // the underlying cubeField Summary |
---|
Fields inherited from class gizmoball.gameworld.Gizmo |
---|
orientation, totalTranslation |
Constructor Summary | |
---|---|
CubeBumperGizmo(Vect3 center,
double sideLength)
Creates a CubeBumperGizmo centered at center and with a side length of sideLength. |
Method Summary | |
---|---|
void |
doActivate()
A CubeBumperGizmo does nothing when "activated" |
void |
doUpdate(double dt)
A CubeBumperGizmo never moves at all so it does nothing when updated |
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 CubeBumperGizmo(Vect3 center, double sideLength)
Method Detail |
---|
public GraphicsProperties getGraphicsProperties()
GameObject
getGraphicsProperties
in class GameObject
public PhysicsModel getPhysicsModel()
Gizmo
getPhysicsModel
in class Gizmo
public void doActivate()
doActivate
in class Gizmo
public void doUpdate(double dt)
doUpdate
in class Gizmo
public java.lang.String getXMLString(java.lang.String name)
GameObject
getXMLString
in class GameObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |