gizmoball.gameworld.gameobjects
Class JumpingPaddle

java.lang.Object
  extended by gizmoball.gameworld.GameObject
      extended by gizmoball.gameworld.Gizmo
          extended by gizmoball.gameworld.gameobjects.Paddle
              extended by gizmoball.gameworld.gameobjects.JumpingPaddle

public class JumpingPaddle
extends Paddle

A paddle that can jump in the y-direction.


Field Summary
 
Fields inherited from class gizmoball.gameworld.Gizmo
orientation, totalTranslation
 
Constructor Summary
JumpingPaddle(Vect3 center, Vect3 up, double width, double angle, int numDivisions, double depth, double linearSpeed, double maxDistance, double jumpheight, double jumptime)
           
 
Method Summary
 void doActivate()
          A Paddle does nothing upon activation.
 void doUpdate(double dt)
          The same as GameObject.update().
 void stopJumping()
          Makes the paddle stop its jump, and return back to its starting height.
 
Methods inherited from class gizmoball.gameworld.gameobjects.Paddle
getGraphicsProperties, getPhysicsModel, getXMLString, moveLeft, moveLeftTrigger, moveRight, moveRightTrigger, resetMovementAmount, rotateAboutAxis
 
Methods inherited from class gizmoball.gameworld.Gizmo
activate, copy, getBoundingBox, getCoeffReflectionString, getColorString, getCommonAttributesString, getDefaultTriggers, getOrientationDoubleString, getOrientationString, getReflectionCoeff, getTextureString, getTranslationString, getXMLDelay, getXMLDelayString, 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

JumpingPaddle

public JumpingPaddle(Vect3 center,
                     Vect3 up,
                     double width,
                     double angle,
                     int numDivisions,
                     double depth,
                     double linearSpeed,
                     double maxDistance,
                     double jumpheight,
                     double jumptime)
Method Detail

doUpdate

public void doUpdate(double dt)
Description copied from class: Gizmo
The same as GameObject.update().

Overrides:
doUpdate in class Paddle

stopJumping

public void stopJumping()
Makes the paddle stop its jump, and return back to its starting height.


doActivate

public void doActivate()
Description copied from class: Paddle
A Paddle does nothing upon activation.

Overrides:
doActivate in class Paddle