moagg.game.control.weapon.mortar
Class AbstractProjectileFactoryImpl

java.lang.Object
  extended by moagg.game.control.weapon.mortar.AbstractProjectileFactoryImpl
All Implemented Interfaces:
ProjectileFactory
Direct Known Subclasses:
FixedProjectileFactoryImpl, RandomProjectileFactoryImpl, SmartProjectileFactoryImpl

public abstract class AbstractProjectileFactoryImpl
extends java.lang.Object
implements ProjectileFactory


Constructor Summary
AbstractProjectileFactoryImpl()
           
 
Method Summary
protected  void createProjectile(Mortar mortar, AbstractBarrel barrel, int angle, InternalGameControl gameControl)
           
protected  int getCenterAngle(Mortar mortar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface moagg.game.control.weapon.ProjectileFactory
createProjectile
 

Constructor Detail

AbstractProjectileFactoryImpl

public AbstractProjectileFactoryImpl()
Method Detail

getCenterAngle

protected int getCenterAngle(Mortar mortar)

createProjectile

protected void createProjectile(Mortar mortar,
                                AbstractBarrel barrel,
                                int angle,
                                InternalGameControl gameControl)


Copyright © 2008. All Rights Reserved.