moagg.model.object.sprite
Class Grinder

java.lang.Object
  extended by com.golden.gamedev.object.Sprite
      extended by com.golden.gamedev.object.AnimatedSprite
          extended by moagg.model.object.sprite.AbstractMoaggAnimatedSprite
              extended by moagg.model.object.sprite.Grinder
All Implemented Interfaces:
java.io.Serializable, MoaggGameObject

public class Grinder
extends AbstractMoaggAnimatedSprite
implements MoaggGameObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.golden.gamedev.object.Sprite
defaultCollisionShape, height, width
 
Constructor Summary
Grinder()
           
 
Method Summary
 void addWaypoint(Vector waypoint)
           
 void clearWaypoints()
           
 double getVelocity()
           
 void setVelocity(double velocity)
           
 void update(long elapsedTime)
           
protected  void updateHeading()
           
 
Methods inherited from class moagg.model.object.sprite.AbstractMoaggAnimatedSprite
addSpeed, getPositionRectangle, getRGB, getSpeed, hide, isVisible, setRGB, setSpeed, setVisible, show
 
Methods inherited from class com.golden.gamedev.object.AnimatedSprite
getAnimationTimer, getFinishAnimationFrame, getFrame, getImage, getImage, getImages, getStartAnimationFrame, isAnimate, isLoopAnim, render, setAnimate, setAnimationFrame, setAnimationTimer, setFrame, setImage, setImages, setLoopAnim, updateAnimation
 
Methods inherited from class com.golden.gamedev.object.Sprite
addHorizontalSpeed, addVerticalSpeed, forceX, forceY, getBackground, getCenterX, getCenterY, getDataID, getDefaultCollisionShape, getDistance, getHeight, getHorizontalSpeed, getID, getLayer, getOldX, getOldY, getScreenX, getScreenY, getVerticalSpeed, getWidth, getX, getY, isActive, isImmutable, isOnScreen, isOnScreen, move, moveTo, moveX, moveY, render, setActive, setBackground, setDataID, setHorizontalSpeed, setID, setImmutable, setLayer, setLocation, setMovement, setSpeed, setVerticalSpeed, setX, setY, updateMovement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface moagg.model.object.MoaggGameObject
getHeight, getID, getPositionRectangle, getSpeed, getWidth, getX, getY, hide, isVisible, setID, setSpeed, setSpeed, setX, setY, show
 

Constructor Detail

Grinder

public Grinder()
Method Detail

setVelocity

public void setVelocity(double velocity)

getVelocity

public double getVelocity()

addWaypoint

public void addWaypoint(Vector waypoint)

clearWaypoints

public void clearWaypoints()

update

public void update(long elapsedTime)
Overrides:
update in class com.golden.gamedev.object.AnimatedSprite

updateHeading

protected void updateHeading()


Copyright © 2008. All Rights Reserved.