moagg.model.weapon.turret
Class AbstractBarrel

java.lang.Object
  extended by moagg.model.weapon.AbstractWeapon
      extended by moagg.model.weapon.turret.AbstractBarrel
All Implemented Interfaces:
Weapon
Direct Known Subclasses:
BlasterBarrel, LaserBarrel

public abstract class AbstractBarrel
extends AbstractWeapon


Constructor Summary
AbstractBarrel()
           
 
Method Summary
 AbstractAiming getAiming()
           
 double getSpeed()
           
 void setAiming(AbstractAiming aiming)
           
 void setSpeed(double speed)
           
 
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

setSpeed

public void setSpeed(double speed)

getSpeed

public double getSpeed()

setAiming

public void setAiming(AbstractAiming aiming)

getAiming

public AbstractAiming getAiming()


Copyright © 2008. All Rights Reserved.