|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.golden.gamedev.object.Sprite moagg.model.object.sprite.AbstractMoaggSprite moagg.model.object.sprite.Crate
public class Crate
Field Summary |
---|
Fields inherited from class com.golden.gamedev.object.Sprite |
---|
defaultCollisionShape, height, width |
Constructor Summary | |
---|---|
Crate()
|
Method Summary | |
---|---|
int |
getFuelPercentage()
|
int |
getMass()
|
CrateType |
getType()
|
boolean |
isRescued()
|
void |
setFuelPercentage(int fuelPercentage)
|
void |
setMass(int mass)
|
void |
setRescued(boolean rescued)
|
void |
setType(CrateType type)
|
Methods inherited from class moagg.model.object.sprite.AbstractMoaggSprite |
---|
addSpeed, getPositionRectangle, getRGB, getSpeed, hide, isVisible, setRGB, setSpeed, setVisible, show |
Methods inherited from class com.golden.gamedev.object.Sprite |
---|
addHorizontalSpeed, addVerticalSpeed, forceX, forceY, getBackground, getCenterX, getCenterY, getDataID, getDefaultCollisionShape, getDistance, getHeight, getHorizontalSpeed, getID, getImage, getLayer, getOldX, getOldY, getScreenX, getScreenY, getVerticalSpeed, getWidth, getX, getY, isActive, isImmutable, isOnScreen, isOnScreen, move, moveTo, moveX, moveY, render, render, setActive, setBackground, setDataID, setHorizontalSpeed, setID, setImage, setImmutable, setLayer, setLocation, setMovement, setSpeed, setVerticalSpeed, setX, setY, update, 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 |
---|
public Crate()
Method Detail |
---|
public CrateType getType()
public void setType(CrateType type)
public int getMass()
public void setMass(int mass)
public int getFuelPercentage()
public void setFuelPercentage(int fuelPercentage)
public boolean isRescued()
public void setRescued(boolean rescued)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |