- SANS_SERIF - Static variable in interface com.b3dgs.lionengine.Text
-
Standard text font sans serif.
- save(XmlNode, Media) - Method in interface com.b3dgs.lionengine.file.XmlParser
-
Save an XML tree to a file.
- saveImage(ImageBuffer, Media) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Save an image into a file.
- scale(double, double) - Method in interface com.b3dgs.lionengine.core.Transform
-
Scale the transform.
- scale(int) - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Method used for sprite scaling, in order to modify its size.
- scale(int) - Method in interface com.b3dgs.lionengine.drawable.SpriteParallaxed
-
Method used for sprite scaling, in order to modify its size.
- Sequence - Class in com.b3dgs.lionengine.core
-
Sequence class is used for each derived sequence, such as Introduction, Menu, Scene...
- Sequence(Loader, Resolution) - Constructor for class com.b3dgs.lionengine.core.Sequence
-
Constructor.
- SERIF - Static variable in interface com.b3dgs.lionengine.Text
-
Standard text font serif.
- set(double, double) - Method in class com.b3dgs.lionengine.Coord
-
Set the new coordinate.
- set(double, double, double, double) - Method in interface com.b3dgs.lionengine.Line
-
Set the line coordinates.
- set(double, double, double, double) - Method in interface com.b3dgs.lionengine.Rectangle
-
Sets the location and size.
- set(int, int) - Method in class com.b3dgs.lionengine.Resolution
-
Set the resolution.
- set(int, int, int) - Method in class com.b3dgs.lionengine.Resolution
-
Set the resolution.
- set(long) - Method in class com.b3dgs.lionengine.Timing
-
Set the timing value.
- setAlign(Align) - Method in interface com.b3dgs.lionengine.Text
-
Set text alignment.
- setAlpha(int) - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Set alpha value.
- setAnimSpeed(double) - Method in interface com.b3dgs.lionengine.anim.Animator
-
Set the current animation speed.
- setApplet(Applet<?>) - Method in class com.b3dgs.lionengine.core.Config
-
Set applet reference, and enable applet mode.
- setCenter(int, int) - Method in interface com.b3dgs.lionengine.Mouse
-
Set mouse center for lock operation.
- setColor(ColorRgba) - Method in interface com.b3dgs.lionengine.Graphic
-
Set the current graphic color.
- setColor(ColorRgba) - Method in interface com.b3dgs.lionengine.Text
-
Set the new text color value.
- setColorGradient(GradientColor) - Method in interface com.b3dgs.lionengine.Graphic
-
Set the gradient color.
- setConfig(Config) - Method in interface com.b3dgs.lionengine.Mouse
-
Set the config.
- setExtrapolated(boolean) - Method in class com.b3dgs.lionengine.core.Sequence
-
Set the extrapolation flag.
- setFrame(int) - Method in interface com.b3dgs.lionengine.anim.Animator
-
Set a fixed frame (it will overwrite the current animation frame).
- setGraphic(G) - Method in interface com.b3dgs.lionengine.Graphic
-
Set the graphic context.
- setInterpolation(boolean) - Method in interface com.b3dgs.lionengine.core.Transform
-
Set the interpolation usage.
- setLineHeight(int) - Method in interface com.b3dgs.lionengine.drawable.SpriteFont
-
Set line height (default = letter height).
- setLocation(int, int) - Method in interface com.b3dgs.lionengine.Text
-
Set text location.
- setMirror(boolean) - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Set the mirror state.
- setMouseVisible(boolean) - Method in class com.b3dgs.lionengine.core.Sequence
-
Set the mouse visibility.
- setRate(int) - Method in class com.b3dgs.lionengine.Resolution
-
Set the refresh rate value in hertz.
- setRatio(double) - Method in class com.b3dgs.lionengine.core.Config
-
Set the ratio and adapt the resolution to the new ratio (based on the height value).
- setRatio(double) - Method in class com.b3dgs.lionengine.Resolution
-
Set the ratio and adapt the resolution to the new ratio (based on the height value).
- setRgb(int, int, int) - Method in interface com.b3dgs.lionengine.core.ImageBuffer
-
Sets a pixel color.
- setRgb(int, int, int, int, int[], int, int) - Method in interface com.b3dgs.lionengine.core.ImageBuffer
-
Sets an array of integer pixels, into a portion of the image data.
- setSeed(long) - Static method in class com.b3dgs.lionengine.UtilityRandom
-
Set the seed.
- setText(String) - Method in interface com.b3dgs.lionengine.Text
-
Set text to render.
- setTransparency(ColorRgba) - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Set transparency color mask.
- setX(double) - Method in class com.b3dgs.lionengine.Coord
-
Set the new horizontal location.
- setY(double) - Method in class com.b3dgs.lionengine.Coord
-
Set the new vertical location.
- shortToByteArray(short) - Static method in class com.b3dgs.lionengine.UtilityConversion
-
Convert a short to an array of byte.
- sin(double) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Get sinus in degree.
- splitImage(ImageBuffer, int, int) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Split an image into an array of sub image (data not shared).
- Sprite - Interface in com.b3dgs.lionengine.drawable
-
Sprites work like images, but support modifications, such as scaling and filtering.
- SpriteAnimated - Interface in com.b3dgs.lionengine.drawable
-
SpriteAnimated is an extended sprite that allows to play it using
Animation
.
- SpriteFont - Interface in com.b3dgs.lionengine.drawable
-
SpriteFont is an extended sprite that allows to handle a font based on an image.
- SpriteParallaxed - Interface in com.b3dgs.lionengine.drawable
-
ParallaxedSprites are used for parallax effect (2.5D perspective).
- SpriteTiled - Interface in com.b3dgs.lionengine.drawable
-
Tiled sprite are mainly used for tile based levels.
- start(String, Version, String) - Static method in class com.b3dgs.lionengine.core.Engine
-
Start engine.
- start(String, Version, String, Verbose) - Static method in class com.b3dgs.lionengine.core.Engine
-
Start engine.
- start(Sequence) - Method in class com.b3dgs.lionengine.core.Loader
-
Start the loader.
- start(Sequence, boolean) - Method in class com.b3dgs.lionengine.core.Sequence
-
Start the next sequence, call the
Sequence.load()
function, and wait for current sequence to end before next
sequence continues.
- start() - Method in class com.b3dgs.lionengine.Timing
-
Start timer.
- start(String) - Static method in class com.b3dgs.lionengine.UtilityProjectStats
-
Start statistics analysis from input directory.
- stop() - Method in class com.b3dgs.lionengine.Timing
-
Stop and reset timer.
- stopAnimation() - Method in interface com.b3dgs.lionengine.anim.Animator
-
- stretch(int, int) - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Works as scale, but using different width and height factor.
- stretch(int, int) - Method in interface com.b3dgs.lionengine.drawable.SpriteParallaxed
-
Works as scale, but using different width and height factor.
- Strings - Class in com.b3dgs.lionengine
-
Used to keep a single reference of a string.
- StringsTest - Class in com.b3dgs.lionengine
-
Test the strings class.
- StringsTest() - Constructor for class com.b3dgs.lionengine.StringsTest
-
- SYSTEM_TEMP_DIR - Static variable in class com.b3dgs.lionengine.core.Media
-
System temp directory.