|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.golden.gamedev.object.Sprite com.golden.gamedev.object.AnimatedSprite moagg.model.object.sprite.AbstractMoaggAnimatedSprite moagg.model.object.sprite.Thorn
public class Thorn
Field Summary |
---|
Fields inherited from class com.golden.gamedev.object.Sprite |
---|
defaultCollisionShape, height, width |
Constructor Summary | |
---|---|
Thorn()
|
Method Summary | |
---|---|
void |
activate()
Calling this method activates this object. |
void |
deactivate()
Calling this method deactivates this object. |
Orientation |
getOrientation()
|
boolean |
isActivated()
|
void |
setOrientation(Orientation orientation)
|
void |
toggle()
Calling this method toggles the object state between activated and deactivated. |
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, 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 |
Methods inherited from interface moagg.model.object.MoaggGameObject |
---|
getHeight, getID, getPositionRectangle, getSpeed, getWidth, getX, getY, hide, isVisible, setID, setSpeed, setSpeed, setX, setY, show |
Methods inherited from interface moagg.model.object.MoaggGameObject |
---|
getHeight, getID, getPositionRectangle, getSpeed, getWidth, getX, getY, hide, isVisible, setID, setSpeed, setSpeed, setX, setY, show |
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 Thorn()
Method Detail |
---|
public Orientation getOrientation()
getOrientation
in interface OrientationObject
public void setOrientation(Orientation orientation)
public boolean isActivated()
isActivated
in interface ActivatableObject
public void activate()
ActivatableObject
activate
in interface ActivatableObject
public void deactivate()
ActivatableObject
deactivate
in interface ActivatableObject
public void toggle()
ActivatableObject
toggle
in interface ActivatableObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |