Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
G
H
I
L
M
P
R
S
T
U
G
GameWindow
- Class in
com.threecoffee.control
A Window to which Sprites can be added to make a game.
GameWindow(int, int)
- Constructor for class com.threecoffee.control.
GameWindow
Creates a new GameWindow with the given width and height.
GButton
- Class in
com.threecoffee.control
Can be used to create a button using two images.
GButton(ImageIcon, ImageIcon)
- Constructor for class com.threecoffee.control.
GButton
Creates a button using two images.
getAcceleration()
- Method in class com.threecoffee.util.
Gravity
Returns the acceleration of the Sprite due to gravity.
getAllAnimations()
- Method in class com.threecoffee.anim.
Actor
Returns a set of all the Animations of this Actor
getAnimation()
- Method in class com.threecoffee.anim.
Sprite
Returns the Animation Object that this Sprite displays
getBounce()
- Method in class com.threecoffee.util.
Gravity
Returns the fraction of energy maintained after every bounce.
getColliders()
- Method in class com.threecoffee.anim.
Sprite
Returns all the Sprites that this Sprite can collide with.
getCurrentAnimation()
- Method in class com.threecoffee.anim.
Actor
Returns the animation being played by this Actor
getCurrentImage()
- Method in class com.threecoffee.anim.
Sprite
Returns the ImageIcon being displayed by the Sprite.
getCurrentSpriteIndex()
- Method in class com.threecoffee.anim.
Sprite
Returns the index of the image being displayed currently by this sprite
getDelay()
- Method in class com.threecoffee.anim.
Animation
Returns the time delay(in milliseconds) after which the update() method is called.
getDelay()
- Method in class com.threecoffee.anim.
Sprite
Returns the time in milliseconds between two successive frames.
getDelay()
- Method in class com.threecoffee.util.
Gravity
Returns the time difference in ms between successive Gravity updates.
getGameWindow()
- Method in class com.threecoffee.anim.
Sprite
Returns the GameWindow that this Sprite is attached to.
getGravity()
- Method in class com.threecoffee.anim.
Sprite
Returns the Gravity object acting on the Sprite.
getImages()
- Method in class com.threecoffee.anim.
Sprite
Returns all the images that this sprite contains.
getName()
- Method in class com.threecoffee.anim.
Animation
Returns the name of this animation.
getName()
- Method in class com.threecoffee.anim.
Sprite
Returns the name of this Sprite.
getPreviousLocation()
- Method in class com.threecoffee.anim.
Sprite
Returns the previous location of the sprite.
getSound(String)
- Static method in class com.threecoffee.media.
SoundFetcher
Returns an AudioClip object instance from the given .wav/.au file.
getSprite()
- Method in class com.threecoffee.util.
DragAdapter
Returns the Sprite that this DragAdapter has control of.
getSprite()
- Method in class com.threecoffee.util.
DragControl
Returns the Sprite that this DragControl has control of.
getVel()
- Method in class com.threecoffee.util.
Gravity
Returns the velocity of the Sprite due to gravity.
Gravity
- Class in
com.threecoffee.util
Simple class to imitate the action of Gravity.
Gravity(Sprite, double)
- Constructor for class com.threecoffee.util.
Gravity
Sets gravity on the given Sprite.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
G
H
I
L
M
P
R
S
T
U