testing.gameEngine.WormsDemo.items
Class Explosion
java.lang.Object
vooga.gameEngine.game.GameRelatedObject
vooga.gameEngine.item.GameItem
testing.gameEngine.WormsDemo.items.Explosion
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Renderable>, java.util.EventListener, Collidable<TerrainPiece>, Renderable, Tangible, TimeListener
public class Explosion
- extends GameItem
- implements Collidable<TerrainPiece>, TimeListener
- Author:
- Jacob Harer
- See Also:
- Serialized Form
Field Summary |
protected static java.net.URL |
exp1
|
protected static java.net.URL |
exp2
|
protected static java.net.URL |
exp3
|
protected static java.net.URL |
exp4
|
(package private) int |
next
|
static java.util.ResourceBundle |
RESOURCES
|
(package private) java.util.List<java.net.URL> |
URLList
|
Method Summary |
void |
collide(TerrainPiece otherObject)
This method is called whenever an object of the specified type has
collided with this object. |
void |
timeUpdated(TimeUpdateEvent t)
Receives an TimeUpdateEvent for the implementing class to
process. |
Methods inherited from class vooga.gameEngine.item.GameItem |
compareTo, getPosition, getRotation, getShape, getSize, getTexture, isVisible, move, resize, rotate, setPosition, setRotation, setSize, setVisibility |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
RESOURCES
public static final java.util.ResourceBundle RESOURCES
exp1
protected static java.net.URL exp1
exp2
protected static java.net.URL exp2
exp3
protected static java.net.URL exp3
exp4
protected static java.net.URL exp4
next
int next
URLList
java.util.List<java.net.URL> URLList
Explosion
public Explosion(Position p,
Dimension d)
collide
public void collide(TerrainPiece otherObject)
- Description copied from interface:
Collidable
- This method is called whenever an object of the specified type has
collided with this object.
- Specified by:
collide
in interface Collidable<TerrainPiece>
- Parameters:
otherObject
- that has collided with this object
timeUpdated
public void timeUpdated(TimeUpdateEvent t)
- Description copied from interface:
TimeListener
- Receives an
TimeUpdateEvent
for the implementing class to
process.
- Specified by:
timeUpdated
in interface TimeListener
- Parameters:
t
- is the TimeUpdateEvent