moagg.game.control.handler
Class ShootHandler
java.lang.Object
moagg.game.control.handler.ShootHandler
- All Implemented Interfaces:
- GameControlHandler
public class ShootHandler
- extends java.lang.Object
- implements GameControlHandler
Takes care of creating projectiles for objects that are currently shooting.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShootHandler
public ShootHandler()
update
public void update(InternalGameControl gameControl,
long elapsedTime)
- Specified by:
update
in interface GameControlHandler
handleShoot
protected void handleShoot(ShooterObject shooter,
InternalGameControl gameControl)
handleShoot
protected void handleShoot(ShooterObject shooter,
Weapon weapon,
InternalGameControl gameControl)
createProjectileFactory
protected ProjectileFactory createProjectileFactory(Weapon weapon)
Copyright © 2008. All Rights Reserved.