|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IGameObject in uk.ac.ic.doc.game |
---|
Classes in uk.ac.ic.doc.game that implement IGameObject | |
---|---|
class |
RegularPolygon
An IGameObject implementation that represents a regular polygon in the game. |
Methods in uk.ac.ic.doc.game with parameters of type IGameObject | |
---|---|
void |
IGame.add(IGameObject object)
Adds object to the game. |
void |
Game.add(IGameObject object)
Adds object to the game. |
void |
IGame.addCollisionListener(IGameObject object,
ICollisionListener listener)
Registers a collision listener that will be notified whenever a collision occurs between object and any other IGameObject. |
void |
Game.addCollisionListener(IGameObject object,
ICollisionListener listener)
Registers a collision listener that will be notified whenever a collision occurs between object and any other IGameObject. |
void |
IGame.addKeyListener(IGameObject object,
Key key,
IKeyListener listener)
Registers a key listener that will be notified of every timer tick that occurs while the given key is pressed. |
void |
Game.addKeyListener(IGameObject object,
Key key,
IKeyListener listener)
Registers a key listener that will be notified whenever the given key is pressed. |
void |
IGame.addScreenExitListener(IGameObject object,
IScreenExitListener listener)
Registers a screen exit listener that will be notified whenever object leaves the screen. |
void |
Game.addScreenExitListener(IGameObject object,
IScreenExitListener listener)
Registers a screen exit listener that will be notified whenever object leaves the screen. |
void |
IGame.addTimerListener(IGameObject object,
ITimerListener listener)
Registers a timer listener that will be called after every cycle of the main game loop. |
void |
Game.addTimerListener(IGameObject object,
ITimerListener listener)
Registers a timer listener that will be called after every cycle of the main game loop. |
boolean |
RegularPolygon.isOverlapping(IGameObject polygon)
Tests whether or not this object is overlapping the given object. |
boolean |
IGameObject.isOverlapping(IGameObject object)
Tests whether or not this object is overlapping the given object. |
void |
ICollisionListener.onCollisionWith(IGameObject object)
Invoked whenever the object that registered this listener collides with any other object in the game. |
void |
IGame.remove(IGameObject object)
Removes object from the game. |
void |
Game.remove(IGameObject object)
Removes object from the game. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |