|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.gameEngine.game.GameRelatedObject
vooga.gameEngine.item.GameItem
vooga.physicsEngine.PhysicalItem
testing.gameEngine.WormsDemo.items.Projectile
testing.gameEngine.WormsDemo.items.Missle
public class Missle
Field Summary |
---|
Fields inherited from class testing.gameEngine.WormsDemo.items.Projectile |
---|
Proj, RESOURCES |
Fields inherited from class vooga.physicsEngine.PhysicalItem |
---|
parameters |
Constructor Summary | |
---|---|
Missle(Position p,
Dimension d)
|
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.physicsEngine.PhysicalItem |
---|
applyAngularImpulse, applyImpulse, getPhysicsOn, setConstantForce, setPhysicsOn, setPosition, setPosition |
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 vooga.gameEngine.game.GameRelatedObject |
---|
addEventListener, clearListeners, equals, fire, fire, fire, getEventListeners, getID, getListenerCount, removeEventListener |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface vooga.gameEngine.item.Renderable |
---|
getTexture, isVisible, setVisibility |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface vooga.gameEngine.item.Tangible |
---|
getPosition, getRotation, getShape, getSize, move, resize, rotate, setPosition, setRotation, setSize |
Constructor Detail |
---|
public Missle(Position p, Dimension d)
Method Detail |
---|
public void collide(TerrainPiece otherObject)
Collidable
otherObject
- that has collided with this objectpublic void timeUpdated(TimeUpdateEvent t)
TimeListener
TimeUpdateEvent
for the implementing class to
process.
t
- is the TimeUpdateEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |