|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deken.game.sprites.SpriteSize
public class SpriteSize
Title: SpriteSize
Description: Stores a size (measurement) of a sprite.
Copyright: Copyright (c) 2005
Constructor Summary | |
---|---|
SpriteSize()
SpriteSize Constructors. |
|
SpriteSize(int newWidth,
int newHeight)
SpriteSize |
|
SpriteSize(int newWidth,
int newHeight,
int newDepth)
SpriteSize |
Method Summary | |
---|---|
SpriteSize |
copy()
Copies this sprite size |
int |
getDepth()
Get the size depth. |
int |
getHeight()
Get the size height. |
int |
getWidth()
Get the size width. |
void |
setSize(int newWidth,
int newHeight,
int newDepth)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpriteSize()
public SpriteSize(int newWidth, int newHeight, int newDepth)
newWidth
- intnewHeight
- intnewDepth
- intpublic SpriteSize(int newWidth, int newHeight)
newWidth
- intnewHeight
- intMethod Detail |
---|
public int getHeight()
public int getWidth()
public int getDepth()
public void setSize(int newWidth, int newHeight, int newDepth)
newWidth
- newHeight
- newDepth
- public java.lang.String toString()
toString
in class java.lang.Object
public SpriteSize copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |