moagg.model.object.sprite
Class AbstractMoaggAnimatedSprite

java.lang.Object
  extended by com.golden.gamedev.object.Sprite
      extended by com.golden.gamedev.object.AnimatedSprite
          extended by moagg.model.object.sprite.AbstractMoaggAnimatedSprite
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Barrier, Grinder, Magnet, Missile, Platform, Ship, Thorn

public abstract class AbstractMoaggAnimatedSprite
extends com.golden.gamedev.object.AnimatedSprite

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.golden.gamedev.object.Sprite
defaultCollisionShape, height, width
 
Constructor Summary
AbstractMoaggAnimatedSprite()
           
 
Method Summary
 void addSpeed(Vector speed)
           
 Rectangle getPositionRectangle()
           
 int[] getRGB()
           
 Vector getSpeed()
           
 void hide()
           
 boolean isVisible()
           
 void setRGB(int[][] rgb)
           
 void setSpeed(Vector speed)
           
 void setVisible(boolean visible)
           
 void 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, update, 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
 

Constructor Detail

AbstractMoaggAnimatedSprite

public AbstractMoaggAnimatedSprite()
Method Detail

setRGB

public void setRGB(int[][] rgb)

getRGB

public int[] getRGB()

getPositionRectangle

public Rectangle getPositionRectangle()

getSpeed

public Vector getSpeed()

setSpeed

public void setSpeed(Vector speed)

addSpeed

public void addSpeed(Vector speed)

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visible)

show

public void show()

hide

public void hide()


Copyright © 2008. All Rights Reserved.