Index of all Fields and Methods
All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- Actor().
Constructor for class com.next.gt.Actor
-
- actorManager.
Variable in class com.next.gt.Gamelet
-
- ActorManager(Gamelet).
Constructor for class com.next.gt.ActorManager
-
- actors.
Variable in class com.next.gt.ActorManager
-
- addActor(Actor).
Method in class com.next.gt.ActorManager
- The Actor is added to a list of Actors to be added.
- addRect(Rectangle).
Method in class com.next.gt.DirtyRectSet
-
- addToScore(int).
Method in class com.next.gt.ScoreManager
- Add to the score.
- bounceOff(Actor).
Method in class com.next.gt.Actor
- Bounce off the specified Actor.
- calculateCurrentFrame().
Method in class com.next.gt.Actor
- Calculates the current frame.
- calculateNewPosition().
Method in class com.next.gt.Actor
- Calculates the new X and Y position based on velocity and time.
- calculateNewVelocity().
Method in class com.next.gt.Actor
- Override this to provide your own behaviour.
- checkForOutOfBounds().
Method in class com.next.gt.Actor
- Check for out of bounds and wrap if it is.
- collideWithActor(Actor).
Method in class com.next.gt.Actor
- Override this method to handle the case when Actor collides with another.
- createTiledImage(Image, int, int, Gamelet).
Static method in class com.next.gt.TiledImage
-
- currentFrame.
Variable in class com.next.gt.Actor
-
- currentTickTimeMillis.
Variable in class com.next.gt.Gamelet
-
- deltaTickTimeMillis().
Method in class com.next.gt.Gamelet
- Calculater the difference between the current tick and the last one.
- didAchieveBonus().
Method in interface com.next.gt.BonusHandler
-
- DirtyRectSet().
Constructor for class com.next.gt.DirtyRectSet
-
- DirtyRectSet(int).
Constructor for class com.next.gt.DirtyRectSet
-
- displayManager.
Variable in class com.next.gt.Gamelet
-
- DisplayManager(Gamelet).
Constructor for class com.next.gt.DisplayManager
-
- draw(Graphics).
Method in class com.next.gt.Actor
- Each Actor is handed a g and is expected to draw itself in it.
- drawImage(Graphics, Image, Applet).
Method in class com.next.gt.DirtyRectSet
-
- eventManager.
Variable in class com.next.gt.Gamelet
-
- EventManager().
Constructor for class com.next.gt.EventManager
-
- Gamelet().
Constructor for class com.next.gt.Gamelet
-
- getAppletInfo().
Method in class com.next.gt.Gamelet
- Provide standard Gamelet info.
- handleBBCollision(Actor, Actor).
Method in class com.next.gt.ActorManager
- Tell each Actor that they've collided with each other.
- handleEvent(Event).
Method in class com.next.gt.EventManager
- Handle the event by notifying registered objects.
- handleEvent(Event).
Method in class com.next.gt.Gamelet
- Pass the event along to the EventManager for handling.
- handleRequestedEvent(Event).
Method in interface com.next.gt.EventHandler
-
- height.
Variable in class com.next.gt.Actor
-
- hFrames.
Variable in class com.next.gt.Actor
-
- image.
Variable in class com.next.gt.Actor
-
- ImageManager(Gamelet).
Constructor for class com.next.gt.ImageManager
- Cache those images which are listed in images/.cache.
- ImageManager(Gamelet, String).
Constructor for class com.next.gt.ImageManager
- Cache those images which are listed in the specified cache file.
- init().
Method in class com.next.gt.Gamelet
- Initialize.
- isActorAt(double, double).
Method in class com.next.gt.ActorManager
- Test if there is an actor at a specified position.
- isActorIn(Rectangle).
Method in class com.next.gt.ActorManager
- Test if there is an actor within a specified Rectangle.
- lastTickTimeMillis.
Variable in class com.next.gt.Gamelet
-
- numFrames.
Variable in class com.next.gt.Actor
-
- objectsToNotify.
Variable in class com.next.gt.EventManager
-
- owner.
Variable in class com.next.gt.Actor
-
- owner.
Variable in class com.next.gt.ActorManager
-
- owner.
Variable in class com.next.gt.DisplayManager
- A reference back to the gamelet this manager is servicing.
- paint(Graphics).
Method in class com.next.gt.DisplayManager
- Display changed portions of screen.
- paint(Graphics).
Method in class com.next.gt.Gamelet
- Pass the Graphics onto the DisplayManager.
- randBetween(double, double).
Static method in class com.next.gt.Gamelet
- Generate a random double between two doubles.
- refresh().
Method in class com.next.gt.DisplayManager
- Refresh screen.
- registerForBonusNotification(Object, int).
Method in class com.next.gt.ScoreManager
- For every `bonus' points, notify requestor.
- registerForEventNotification(Object, int[]).
Method in class com.next.gt.EventManager
- Register for notification of an event with a Vector of events.
- registerForSingleEventNotification(Object, int).
Method in class com.next.gt.EventManager
- Register for a single notification of an event.
- removeActor(Actor).
Method in class com.next.gt.ActorManager
- The Actor is added to a list of Actors to be removed.
- removeAllActors().
Method in class com.next.gt.ActorManager
- Dump all references to Actors.
- removeFromNotificationRegistry(Object).
Method in class com.next.gt.EventManager
- Remove object from notification registry.
- run().
Method in class com.next.gt.Gamelet
- Execution loop.
- runner.
Variable in class com.next.gt.Gamelet
-
- score.
Variable in class com.next.gt.ScoreManager
-
- scoreManager.
Variable in class com.next.gt.Gamelet
-
- ScoreManager().
Constructor for class com.next.gt.ScoreManager
-
- setBackground(Image).
Method in class com.next.gt.DisplayManager
- Set the background image to the specified image.
- setBackgroundTile(Image).
Method in class com.next.gt.DisplayManager
- Tile the background with the specifed tile image.
- setImage(Image).
Method in class com.next.gt.Actor
- Set the image used for animation.
- setImage(Image, int, int).
Method in class com.next.gt.Actor
- Set the image used for animation.
- setImage(Image, int, int, int, int).
Method in class com.next.gt.Actor
- Set the image used for animation.
- setScore(int).
Method in class com.next.gt.ScoreManager
- Set the score.
- SLEEP_MILLIS.
Variable in class com.next.gt.Gamelet
-
- sleepMillis().
Method in class com.next.gt.Gamelet
-
- start().
Method in class com.next.gt.Gamelet
- Start the thread.
- stop().
Method in class com.next.gt.Gamelet
- Stop the thread.
- subtractFromScore(int).
Method in class com.next.gt.ScoreManager
- Subtract from the score.
- tick().
Method in class com.next.gt.Actor
- Change animation frame, calculate new position, and calculate new velocity..
- tick().
Method in class com.next.gt.ActorManager
- Add/delete Actors, send current Actors a tick message, and then
perform collision detection.
- tick().
Method in class com.next.gt.Gamelet
- Distribute tick to the ActorManager and update display.
- TiledImage().
Constructor for class com.next.gt.TiledImage
-
- update(Graphics).
Method in class com.next.gt.Gamelet
- Override update to avoid screen clears.
- velocity_x.
Variable in class com.next.gt.Actor
-
- velocity_y.
Variable in class com.next.gt.Actor
-
- width.
Variable in class com.next.gt.Actor
-
- wrapAround.
Variable in class com.next.gt.Actor
-
- x.
Variable in class com.next.gt.Actor
-
- x_old.
Variable in class com.next.gt.Actor
-
- y.
Variable in class com.next.gt.Actor
-
- y_old.
Variable in class com.next.gt.Actor
-