|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.golden.gamedev.object.Sprite
vooga.engine.core.BetterSprite
vooga.games.tronupdate.items.Bonus
public abstract class Bonus
Constructor Summary | |
---|---|
Bonus(java.awt.image.BufferedImage image,
double initialColPosition,
double initialRowPosition,
int BounsImageWidth)
constructor |
Method Summary | |
---|---|
abstract void |
act()
|
double |
getBounsImageWidth()
get the width of the bonus image |
double |
getCol()
get column |
double |
getRow()
get row |
abstract boolean |
isConsumed()
|
Methods inherited from class vooga.engine.core.BetterSprite |
---|
addAnimatedImages, addHorizontalSpeed, addImage, addSprite, addVerticalSpeed, firstRun, forceX, forceY, getCurrentSprite, getDistance, getDoubleStat, getHeight, getHorizontalSpeed, getImage, getIntStat, getStat, getTimeInExistence, getVerticalSpeed, getWidth, getX, getY, isActive, isOnScreen, move, moveTo, moveX, moveY, render, setActive, setAsRenderedSprite, setBackground, setDoubleStat, setHorizontalSpeed, setImage, setImages, setIntStat, setLayer, setLocation, setMovement, setSpeed, setStat, setVerticalSpeed, setX, setY, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Bonus(java.awt.image.BufferedImage image, double initialColPosition, double initialRowPosition, int BounsImageWidth)
image
- initialColPosition
- initialRowPosition
- BounsImageWidth
- Method Detail |
---|
public double getBounsImageWidth()
public double getRow()
public double getCol()
public abstract void act()
public abstract boolean isConsumed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |