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.


Constructor Index

 o WeaponMineLayer()
 

Method Index

 o fire()
Lay a mine.
 o getMaker()
object which can publicly create us
 o init(Particle, Vector, Vector, double, int, double)
 
 o setParticle(Particle)
 

Constructor Detail

 o WeaponMineLayer
public WeaponMineLayer()

Method Detail

 o getMaker
public static java.lang.Object getMaker()
          object which can publicly create us
 o 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
 o setParticle
public void setParticle(com.loki3.pa.Particle particle)
Overrides:
setParticle in class com.loki3.pa.Item
 o 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