Site hosted by Angelfire.com: Build your free website today!

 

Package  

 Class 

Tree 

Deprecated 

Index 

Help 

 

 PREV CLASS   NEXT CLASS

FRAMES    NO FRAMES    

 

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

 

size=2 width="100%" align=center>

Class Bullet

 
java.lang.Object
  extended byMovingObject
      extended byProjectile
          extended byBullet

All Implemented Interfaces:

Movable


public class Bullet

extends Projectile

 


Field Summary

 int

BULLET_LIFE
           

 int

BULLET_RADIUS
           

 boolean

FRIEND
           

 

Fields inherited from class MovingObject

SECTOR

 

Constructor Summary

Bullet(Ship ship)
           

 

 

Method Summary

 void

draw(java.awt.Graphics g)
           

 

Methods inherited from class Projectile

getShip, move

 

Methods inherited from class MovingObject

die, fadeInOut, getCenter, getColor, getDeltaX, getDeltaY, getDie, getDim, getFriend, getOrientation, getRadius, isExploding, points, setCenter, setColor, setDeltaX, setDeltaY, setDie, setDim, setFriend, setOrientation, setRadius

 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface Movable

die, fadeInOut, getCenter, getFriend, getRadius, isExploding, points

 

Field Detail

BULLET_LIFE

 
public final int BULLET_LIFE

See Also:

Constant Field Values


BULLET_RADIUS

 
public final int BULLET_RADIUS

See Also:

Constant Field Values


FRIEND

 
public final boolean FRIEND

See Also:

Constant Field Values

Constructor Detail

Bullet

 
public Bullet(Ship ship)

Method Detail

draw

 
public void draw(java.awt.Graphics g)
size=2 width="100%" align=center>

 

Package  

 Class 

Tree 

Deprecated 

Index 

Help 

 

 PREV CLASS   NEXT CLASS

FRAMES    NO FRAMES    

 

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

 

size=2 width="100%" align=center>