moagg.model.weapon.mortar
Class AbstractBarrel

java.lang.Object
  extended by moagg.model.weapon.AbstractWeapon
      extended by moagg.model.weapon.mortar.AbstractBarrel
All Implemented Interfaces:
Weapon
Direct Known Subclasses:
FixedBarrel, RandomBarrel, SmartBarrel

public abstract class AbstractBarrel
extends AbstractWeapon


Constructor Summary
AbstractBarrel()
           
 
Method Summary
 long getExploderDelay()
           
 double getSpeed()
           
 MortarBarrelWarhead getWarhead()
           
 void setExploderDelay(long exploderDelay)
           
 void setSpeed(double speed)
           
 void setWarhead(MortarBarrelWarhead warhead)
           
 
Methods inherited from class moagg.model.weapon.AbstractWeapon
isShoot, setFireStrategy, setShoot, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBarrel

public AbstractBarrel()
Method Detail

setWarhead

public void setWarhead(MortarBarrelWarhead warhead)

getWarhead

public MortarBarrelWarhead getWarhead()

setSpeed

public void setSpeed(double speed)

getSpeed

public double getSpeed()

setExploderDelay

public void setExploderDelay(long exploderDelay)

getExploderDelay

public long getExploderDelay()


Copyright © 2008. All Rights Reserved.