|
||||||||||
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.gameEngine.item.BoundedItem
vooga.levelEditor.game.ballPathBuilder.items.EnemyShip
public class EnemyShip
Field Summary | |
---|---|
static java.util.ResourceBundle |
RESOURCES
|
Constructor Summary | |
---|---|
EnemyShip(ImageTexture imageTexture,
CameraController myCamera,
BallPathBuilder ballPathBuilder)
|
Method Summary | |
---|---|
void |
collide(PhysicalItem ball)
This method is called whenever an object of the specified type has collided with this object. |
Methods inherited from class vooga.gameEngine.item.BoundedItem |
---|
getRectangularBoundaries, getShapeBoundaries, positionChanged, rotationChanged, sizeChanged |
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 |
Field Detail |
---|
public static final java.util.ResourceBundle RESOURCES
Constructor Detail |
---|
public EnemyShip(ImageTexture imageTexture, CameraController myCamera, BallPathBuilder ballPathBuilder)
Method Detail |
---|
public void collide(PhysicalItem ball)
Collidable
collide
in interface Collidable<PhysicalItem>
ball
- that has collided with this object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |