A B C D E F G H I J K L M P R S T U W X Y

S

saveToFile(String) - Method in class jplay.Scene
Save the current state of the scene in a new file.
Scene - Class in jplay
Class responsible for handling a Scenario.
Scene() - Constructor for class jplay.Scene
 
setBehavior(int, int) - Method in class jplay.Keyboard
Set a new behavior for a key.
setBehavior(int, int) - Method in class jplay.Mouse
Sets the behavior of the mouse.
setColor(Color) - Method in class jplay.Time
Sets the color used to drawn the time on the screen.
setCurrFrame(int) - Method in class jplay.Animation
Sets the current frame that will be drawn.
setDisplayMode(DisplayMode) - Method in class jplay.Window
Set the display mode.
setDrawStartPos(int, int) - Method in class jplay.Scene
Sets the initial X and Y position will be used to draw the scene.
setDuration(int, long) - Method in class jplay.Animation
Set up the time which the frame will be shown on screen.
setFinalFrame(int) - Method in class jplay.Animation
Sets the final frame of the sequence of frames.
setFloor(int) - Method in class jplay.Sprite
Sets the floor that will be used for the methods jump or fall.
setFont(Font) - Method in class jplay.Time
Sets the font used to drawn the time on the screen.
setFullScreen() - Method in class jplay.Window
Put the screen in a full mode screen.
setGravity(double) - Method in class jplay.Sprite
Sets the value for gravity.
setHour(int) - Method in class jplay.Time
Sets the hours.
setInitialFrame(int) - Method in class jplay.Animation
Sets the initial frame of the sequence of frames.
setJumpVelocity(double) - Method in class jplay.Sprite
Sets the jump velocity for the sprite.
setLoop(boolean) - Method in class jplay.Animation
Method responsible for informing the class that the animation will not be run indefinitely.
setMinute(int) - Method in class jplay.Time
Sets the minutes.
setRepeat(boolean) - Method in class jplay.Sound
This method is responsible for making the sound to run indefinitely.
setSecond(int) - Method in class jplay.Time
Sets the seconds.
setSequence(int, int) - Method in class jplay.Animation
Set the initial and final frame in the sequence of animation.
setSequence(int, int, boolean) - Method in class jplay.Animation
Set the initial and final frame in the sequence of animation.
setSequenceTime(int, int, long) - Method in class jplay.Animation
Set the initial and final frame in the sequence of animation and the runtime.
setSequenceTime(int, int, boolean, long) - Method in class jplay.Animation
Set the initial and final frame in the sequence of animation, the runtime and if it will run indefinitely.
setSize(int, int) - Method in class jplay.Window
Sets the size of the screen
setSize(Dimension) - Method in class jplay.Window
Sets the dimension of the screen.
setTime(int, int, int) - Method in class jplay.Time
Sets the current time.
setTotalDuration(long) - Method in class jplay.Animation
 
setVolume(float) - Method in class jplay.Sound
Sets the current volume.
Sound - Class in jplay
Class responsible for controlling the execution of sounds.
Sound(String) - Constructor for class jplay.Sound
Class Constructor.
SPACE_KEY - Static variable in class jplay.Keyboard
The space bar of the keyboard.
Sprite - Class in jplay
Class responsible for controlling all actions and behaviors of sprite.
Sprite(String) - Constructor for class jplay.Sprite
Constructor of the class.
Sprite(String, int) - Constructor for class jplay.Sprite
Constructor of the class.
stop() - Method in class jplay.Animation
Stops execution and puts the initial frame as the current frame.
stop() - Method in class jplay.Sound
Stops the execution of the sound.

A B C D E F G H I J K L M P R S T U W X Y