All Packages Class Hierarchy This Package Previous Next Index
Class cynosurex.game.Sprite2D
java.lang.Object
|
+----cynosurex.game.Sprite
|
+----cynosurex.game.Sprite2D
- public abstract class Sprite2D
- extends Sprite
- implements CommonInterface
-
dimension
-
-
position
-
-
velocity
-
-
Sprite2D()
-
-
getDimension()
-
-
getHeight()
-
-
getPosition()
-
-
getVelocity()
-
-
getWidth()
-
-
getX()
-
-
getY()
-
-
intersect(Sprite2D)
-
-
setDimension(Dimension)
-
-
setDimension(int, int)
-
-
setPosition(int, int)
-
-
setPosition(Point)
-
-
setVelocity(int, int)
-
-
setVelocity(PixelVelocity)
-
position
protected Point position
dimension
protected Dimension dimension
velocity
protected PixelVelocity velocity
Sprite2D
public Sprite2D()
getDimension
public Dimension getDimension()
getHeight
public int getHeight()
getPosition
public Point getPosition()
getVelocity
public PixelVelocity getVelocity()
getWidth
public int getWidth()
getX
public int getX()
getY
public int getY()
intersect
public boolean intersect(Sprite2D sprite)
setDimension
public void setDimension(Dimension dimension)
setDimension
public void setDimension(int width,
int height)
setPosition
public void setPosition(Point position)
setPosition
public void setPosition(int x,
int y)
setVelocity
public void setVelocity(PixelVelocity velocity)
setVelocity
public void setVelocity(int velocity_x,
int velocity_y)
All Packages Class Hierarchy This Package Previous Next Index