com.croftsoft.core.animation
Interface Sprite

All Superinterfaces:
ComponentAnimator, ComponentPainter, ComponentUpdater
All Known Implementing Classes:
AbstractSprite, IconSprite, TextSprite

public interface Sprite
extends ComponentAnimator

A ComponentAnimator representing a moving object.

Since:
2002-03-06
Version:
2003-07-11
Author:
David Wallace Croft

Method Summary
 void getCollisionBounds(Rectangle collisionBounds)
           
 Shape getCollisionShape()
           
 double getHeading()
           
 void getPaintBounds(Rectangle paintBounds)
           
 double getVelocity()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 void setHeading(double heading)
           
 void setVelocity(double velocity)
           
 void setX(double x)
           
 void setY(double y)
           
 void setZ(double z)
           
 
Methods inherited from interface com.croftsoft.core.animation.ComponentUpdater
update
 
Methods inherited from interface com.croftsoft.core.animation.ComponentPainter
paint
 

Method Detail

getX

double getX()

getY

double getY()

getZ

double getZ()

getHeading

double getHeading()

getVelocity

double getVelocity()

getCollisionBounds

void getCollisionBounds(Rectangle collisionBounds)

getCollisionShape

Shape getCollisionShape()

getPaintBounds

void getPaintBounds(Rectangle paintBounds)

setX

void setX(double x)

setY

void setY(double y)

setZ

void setZ(double z)

setHeading

void setHeading(double heading)

setVelocity

void setVelocity(double velocity)

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)