|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Sprite in simulation_MVC_Basic |
---|
Classes in simulation_MVC_Basic that implement Sprite | |
---|---|
class |
ProjectileSprite
This class encapsulates an on-screen sprite that represents a projectile in our game. |
class |
ScoreTallySprite
This class encapsulates an on-screen score tally. |
class |
ShapeSprite
This class encapsulates a sprite which is an image (as determined by the File that is passed to the constructor). |
class |
ShooterSprite
This class encapsulates an on-screen sprite that is a masked bit-map of a beetle that shoots projectiles from its head. |
Methods in simulation_MVC_Basic with parameters of type Sprite | |
---|---|
void |
Model.addSprite(Sprite sprite)
Cause the passed sprite to be added to this data model. |
boolean |
ShapeSprite.isCollided(Sprite s)
Determines whether the passed sprite collides with this sprite |
void |
ScoreTallySprite.registerHit(Sprite theTarget)
Registers that a hit was accomplished on the target that is passed as a parameter. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |