moagg.model.weapon.ship
Class DoubleDecorator

java.lang.Object
  extended by moagg.model.weapon.WeaponDecorator
      extended by moagg.model.weapon.ship.DoubleDecorator
All Implemented Interfaces:
Weapon

public class DoubleDecorator
extends WeaponDecorator

This class represents a variant of the "standard" blaster where two shots are fired at the same time.


Constructor Summary
DoubleDecorator()
           
DoubleDecorator(Weapon weapon)
           
 
Method Summary
 int getDistance()
           
 void setDistance(int distance)
           
 
Methods inherited from class moagg.model.weapon.WeaponDecorator
getWeapon, isShoot, setShoot, setWeapon, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleDecorator

public DoubleDecorator()

DoubleDecorator

public DoubleDecorator(Weapon weapon)
Method Detail

setDistance

public void setDistance(int distance)

getDistance

public int getDistance()


Copyright © 2008. All Rights Reserved.