Uses of Class
javoids.BasicSprite

Uses of BasicSprite in javoids
 

Classes in javoids with type parameters of type BasicSprite
 class SpriteVector<E extends BasicSprite>
          A vecotr class to hold many sprites.
 

Subclasses of BasicSprite in javoids
 class Bullet
          A fired bullet.
 class Explosion
          An explosion (currently an animated gif image)
 class GravityPoint
          A single point of gravity that attract's other sprites.
 class Javoid
          A javoid (asteroid like) object.
 class Mine
          A mine class that damages ship sprites when they collide.
 class PowerUp
          A sprite that grants Ship sprites special items, bonus points, or effects like repairing damage
 class Shield
          A sprite class to provide a shield to another sprite, protecting it from damage.
 class ShieldedSprite
          A sprite with a shield (also a sprite).
 class Ship
          A space ship sprite class.
 class Singularity
          A singularity (not quite, but close enough).
 class Sprite
          A sprite class to have a moving game object.
 

Fields in javoids declared as BasicSprite
private  BasicSprite BasicSprite.parent
          what is the parent sprite to this sprite?
 

Methods in javoids with type parameters of type BasicSprite
private
<E extends BasicSprite>
SpriteVector<Explosion>
Javoids.createExplosions(SpriteVector<E> sprites)
           
<E extends BasicSprite>
java.util.Collection<E>
BasicSprite.explode()
          Override this method to have a larger object break up into more pieces.
<E extends BasicSprite>
void
Ship.useMegaBomb(SpriteVector<E> sprites, SpriteVector<Explosion> explosions)
           
 

Methods in javoids that return BasicSprite
 BasicSprite BasicSprite.getParent()
           
 

Methods in javoids with parameters of type BasicSprite
 void Ship.apply(BasicSprite sprite)
          Apply the effects of the power up to the ship
 int Singularity.collide(BasicSprite sprite, BasicSprite.Collision collisionType)
           
 int ShieldedSprite.collide(BasicSprite sprite, BasicSprite.Collision collisionType)
           
 int BasicSprite.collide(BasicSprite sprite, BasicSprite.Collision collisionType)
           
 BasicSprite.Collision BasicSprite.collisionDetected(BasicSprite sprite)
           
 double BasicSprite.getRelativeVelocity(BasicSprite basicSprite)
           
 void BasicSprite.setParent(BasicSprite _parent)
          set the sprite's parent
static SpriteVector<Bullet> Bullet.spawn(BasicSprite parent, int directions, double initialDirection, Health health, Move move, Item item)
          create multiple bullets from a firing wepon
 

Method parameters in javoids with type arguments of type BasicSprite
 void SpriteVector.moveSpritesGravity(java.util.Collection<? extends BasicSprite> sprites)
          Move the sprites in the vector toward/away from the sprites in another vector (if the other sprites are gravity sources).
 void SpriteVector.moveSpritesHoming(java.util.Collection<? extends BasicSprite> sprites)
          Move the sprites in the vector to the target sprites in another vector (if they are homing) going to the closest one.
 

Constructors in javoids with parameters of type BasicSprite
BasicSprite(BasicSprite _parent, Health _health, Move _move, int _size)
           
Bullet(BasicSprite _parent, Health _health, Move _move, Item _item)
          Constructor
Explosion(BasicSprite parent, Move move, int _size)
          Constructor
GravityPoint(BasicSprite parent, Health health, Move move, int _size)
          Constructor
Javoid(BasicSprite parent, Health health, Move move, int _size)
          Constructor
Mine(BasicSprite parent, Health health, Move move, int _size)
          Constructor
PowerUp(BasicSprite parent, Health health, Move move, int _size)
          Constructor
Shield(BasicSprite parent, Health health, Move move, int _size, Shapes.Shape shieldShape)
          Constructor
ShieldedSprite(BasicSprite parent, Health health, Move move, Shield _shield, int _size, ImageMap.Name image, java.util.Vector<java.awt.geom.Area> areas, java.util.Vector<java.awt.Color> colors)
          Constructor
Ship(BasicSprite parent, Health health, Move move, int _size)
          Constructor
Singularity(BasicSprite parent, Health health, Move move, int _size)
          Constructor
Sprite(BasicSprite parent, Health health, Move move, int _size, ImageMap.Name _imageNumber, java.util.Vector<java.awt.geom.Area> _areas, java.util.Vector<java.awt.Color> _colors)
          Constructor