moagg.game.control.handler
Class WarheadHandler

java.lang.Object
  extended by moagg.game.control.handler.WarheadHandler
All Implemented Interfaces:
GameControlHandler

public class WarheadHandler
extends java.lang.Object
implements GameControlHandler

Takes care of creating projectiles for objects that are currently shooting.


Constructor Summary
WarheadHandler()
           
 
Method Summary
protected  WarheadHandler getWarheadHandler(Warhead warhead)
           
 void update(InternalGameControl gameControl, long elapsedTime)
           
protected  void updateObject(ShootableWithWarheadObject object, InternalGameControl gameControl, long elapsedTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarheadHandler

public WarheadHandler()
Method Detail

update

public void update(InternalGameControl gameControl,
                   long elapsedTime)
Specified by:
update in interface GameControlHandler

updateObject

protected void updateObject(ShootableWithWarheadObject object,
                            InternalGameControl gameControl,
                            long elapsedTime)

getWarheadHandler

protected WarheadHandler getWarheadHandler(Warhead warhead)


Copyright © 2008. All Rights Reserved.