gameComponents
Interface Sprite

All Known Subinterfaces:
ShooterSprite
All Known Implementing Classes:
BasicTriangleShooter, FroggyShooter, ProjectileSprite, ScoreTallySprite, TargetSprite

public interface Sprite


Method Summary
 java.awt.geom.Rectangle2D getBounds2D()
          This method returns a rectangular box that completely encloses this sprite.
 void specifyDrawing(java.awt.Graphics2D g)
           
 

Method Detail

specifyDrawing

void specifyDrawing(java.awt.Graphics2D g)

getBounds2D

java.awt.geom.Rectangle2D getBounds2D()
This method returns a rectangular box that completely encloses this sprite. The bounding box can be assumed to be the smallest bounding box that is possible.

Returns:
as described above