All Packages Class Hierarchy This Package Previous Next Index
Class com.loki3.cyber.pawn.WeaponMineLayer
java.lang.Object
|
+----com.loki3.pa.Item
|
+----com.loki3.cyber.pawn.UnitClass
|
+----com.loki3.cyber.pawn.Weapon
|
+----com.loki3.cyber.pawn.WeaponMineLayer
- public class WeaponMineLayer
- extends Weapon
A weapon which lays mines.
WeaponMineLayer()
-
fire()
- Lay a mine.
getMaker()
- object which can publicly create us
init(Particle, Vector, Vector, double, int, double)
-
setParticle(Particle)
-
WeaponMineLayer
public WeaponMineLayer()
getMaker
public static java.lang.Object getMaker()
object which can publicly create us
init
public boolean init(com.loki3.pa.Particle master,
Vector offset,
Vector size,
double hitpoints,
int rounds,
double damage)
- Parameters:
master - the particle the weapon is riding on
offset - distance from master to weapon
size - width,length,height of turret
hitpoints - amount of damage unit can take
rounds - total rounds of ammunition
damage - amount of damage an explosion can do
setParticle
public void setParticle(com.loki3.pa.Particle particle)
- Overrides:
- setParticle in class com.loki3.pa.Item
fire
public boolean fire()
Lay a mine.
- Returns:
- false if the weapon can't be fired
- Overrides:
- fire in class Weapon
All Packages Class Hierarchy This Package Previous Next Index