moagg.model.warhead.grenade
Class StarBurstWarhead

java.lang.Object
  extended by moagg.model.warhead.grenade.StarBurstWarhead
All Implemented Interfaces:
Warhead

public class StarBurstWarhead
extends java.lang.Object
implements Warhead


Constructor Summary
StarBurstWarhead(Grenade grenade)
           
 
Method Summary
 Grenade getGrenade()
           
 boolean isExploderTimerExpired()
           
 void setExploderDelay(long exploderDelay)
           
 void update(long elapsedTime)
          Must be called by the projectile object for each frame, since warhead implementations may have internal timers of some kind.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StarBurstWarhead

public StarBurstWarhead(Grenade grenade)
Method Detail

getGrenade

public Grenade getGrenade()

setExploderDelay

public void setExploderDelay(long exploderDelay)

isExploderTimerExpired

public boolean isExploderTimerExpired()

update

public void update(long elapsedTime)
Description copied from interface: Warhead
Must be called by the projectile object for each frame, since warhead implementations may have internal timers of some kind.

Specified by:
update in interface Warhead


Copyright © 2008. All Rights Reserved.