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
S
setAcceleration(double)
- Method in class com.threecoffee.util.
Gravity
Sets the vertical acceleration of the Sprite due to this Gravity object.
setBounce(double)
- Method in class com.threecoffee.util.
Gravity
Sets the fraction of energy maintained after every bounce.
setCurrentAnimation(int)
- Method in class com.threecoffee.anim.
Actor
Sets the current animation being played by this Actor
setCurrentImage(ImageIcon)
- Method in class com.threecoffee.anim.
Sprite
Sets the image being displayed to the given image.
setCurrentSpriteIndex(int)
- Method in class com.threecoffee.anim.
Sprite
Sets the image being displayed to the image at the given index.
setDelay(long)
- Method in class com.threecoffee.anim.
Animation
Sets the time delay(in milliseconds) after which the update() method is called.
setDelay(long)
- Method in class com.threecoffee.anim.
Sprite
Sets the time in milliseconds between two consecutive frames.
setDelay(long)
- Method in class com.threecoffee.util.
Gravity
Sets the time difference in ms between successive Gravity updates.
setGravity(boolean)
- Method in class com.threecoffee.anim.
Sprite
Adds/Removes gravity to/from the Sprite.
setGravity(Gravity)
- Method in class com.threecoffee.anim.
Sprite
Sets the given Gravity object as this Sprite's default Gravity.
setImages(Vector<ImageIcon>)
- Method in class com.threecoffee.anim.
Sprite
Sets the given images as the ones that this Sprite displays.
setName(String)
- Method in class com.threecoffee.anim.
Animation
Sets the name of this animation.
setName(String)
- Method in class com.threecoffee.anim.
Sprite
Sets the name of this Sprite to the given string.
setVel(double)
- Method in class com.threecoffee.util.
Gravity
Sets the vertical velocity of the Sprite controlled by this Gravity object.
shiftScreen(double, double)
- Method in class com.threecoffee.control.
GameWindow
Shifts the whole screen, along with the components, by the given pixels.
SoundFetcher
- Class in
com.threecoffee.media
Provides a static method to get an AudioClip instance from a given .wav/.au file.
SoundFetcher()
- Constructor for class com.threecoffee.media.
SoundFetcher
Sprite
- Class in
com.threecoffee.anim
Simple class to represent an image or a simple animation consisting of a group of images.
Sprite()
- Constructor for class com.threecoffee.anim.
Sprite
Creates a new animated sprite with no image
Sprite(Animation)
- Constructor for class com.threecoffee.anim.
Sprite
Creates a new Sprite from the given Animation
stop()
- Method in class com.threecoffee.anim.
Sprite
Stops playing the current 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