|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deken.game.sprites.Sprite
org.deken.game.sprites.Decor
org.deken.game.sprites.NullDecor
public class NullDecor
Title: NullDecor
Description: The NullDecor is used for setting place holders in a GameMap. It does nothing in the draw() and update() methods.
Copyright: Copyright (c) Mar 16, 2013
Field Summary |
---|
Fields inherited from class org.deken.game.sprites.Decor |
---|
animation |
Fields inherited from class org.deken.game.sprites.Sprite |
---|
boundingBox, collisionMap, location, size |
Constructor Summary | |
---|---|
NullDecor(SpriteSize size)
|
Method Summary | |
---|---|
Decor |
copy()
|
void |
draw(java.awt.Graphics2D graphics,
int xOffset,
int yOffset)
Draw |
void |
update(long elapseTime)
update |
Methods inherited from class org.deken.game.sprites.Decor |
---|
copyBase, getAnimation, setAnimation, spriteCollison |
Methods inherited from class org.deken.game.sprites.Sprite |
---|
getBounds, getDepth, getHeight, getLocation, getName, getSize, getWidth, getXLocation, getYLocation, removeFromMap, setBoundingBox, setBoundingBox, setCollisionMap, setLocation, setName, setSize, toString, updateLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NullDecor(SpriteSize size)
Method Detail |
---|
public Decor copy()
copy
in class Decor
public void draw(java.awt.Graphics2D graphics, int xOffset, int yOffset)
Decor
draw
in class Decor
public void update(long elapseTime)
Decor
update
in interface Updateable
update
in class Decor
elapseTime
- long
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |