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.
-
dPos
-
-
Bullet(Bullet)
-
-
Bullet(Position, Position)
-
dPos
public Position dPos
Bullet
public Bullet(Position nPos,
Position ndPos)
Bullet
public Bullet(Bullet copycat)
All Packages Class Hierarchy This Package Previous Next Index