All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.jp.robwar.Bullet

java.lang.Object
   |
   +----ch.jp.robwar.MapObject
           |
           +----ch.jp.robwar.CircularMapObject
                   |
                   +----ch.jp.robwar.Bullet

public class Bullet
extends CircularMapObject
implements Serializable
Describes a bullet. Bullets stop when they hit a robot or a wall. Hitting another bullet, weapon or explosion doesn't affect them. The relevant fields are position (the bullet's current position) and dPos, the bullet's speed vector.


Variable Index

 o dPos

Constructor Index

 o Bullet(Bullet)
 o Bullet(Position, Position)

Variables

 o dPos
 public Position dPos

Constructors

 o Bullet
 public Bullet(Position nPos,
               Position ndPos)
 o Bullet
 public Bullet(Bullet copycat)

All Packages  Class Hierarchy  This Package  Previous  Next  Index