|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsprite.Sprite
sprite.sprite2d.Sprite2D
sprite.sprite2d.OvalSprite
public class OvalSprite
Last updated September 21, 2006.
Extends Sprite2D. Creates an oval sprite.
| Field Summary |
|---|
| Fields inherited from class sprite.sprite2d.Sprite2D |
|---|
fill, spriteColor |
| Fields inherited from class sprite.Sprite |
|---|
active, visible |
| Constructor Summary | |
|---|---|
OvalSprite()
Creates a new instance of OvalSprite |
|
| Method Summary | |
|---|---|
void |
paintSprite(java.awt.Graphics2D g)
Paints the sprite. |
void |
updateSprite(java.awt.Component c)
Updates the sprite. |
| Methods inherited from class sprite.sprite2d.Sprite2D |
|---|
checkCollision, getHeight, getSpriteColor, getStartX, getStartY, getWidth, getXPosition, getYPosition, isFill, setFill, setHeight, setSpriteColor, setStartX, setStartY, setWidth, setXPosition, setYPosition |
| Methods inherited from class sprite.Sprite |
|---|
addPropertyChangeListener, getPropertySupport, isActive, isVisible, removePropertyChangeListener, restore, setActive, setVisible, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OvalSprite()
| Method Detail |
|---|
public void paintSprite(java.awt.Graphics2D g)
paintSprite in class Spriteg - The graphics to paint with.public void updateSprite(java.awt.Component c)
updateSprite in class Spritec - The owner of the sprite.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||