- Check - Class in com.b3dgs.lionengine
-
Utility class check.
- check(String, String) - Method in class com.b3dgs.lionengine.Checksum
-
Compare a checksum with its supposed original value.
- check(int, String) - Method in class com.b3dgs.lionengine.Checksum
-
Compare a checksum with its supposed original value.
- Checksum - Class in com.b3dgs.lionengine
-
SHA-256 based checksum manipulation.
- clear(Resolution) - Method in interface com.b3dgs.lionengine.Graphic
-
Clear the display.
- clear(int, int, int, int) - Method in interface com.b3dgs.lionengine.Graphic
-
Clear the display.
- clearScreen(Graphic) - Method in class com.b3dgs.lionengine.core.Sequence
-
Clear the screen.
- clearStringsRef() - Static method in class com.b3dgs.lionengine.Strings
-
Clear all references.
- close() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Terminate reading, close file.
- close() - Method in interface com.b3dgs.lionengine.file.FileWriting
-
Terminate writing, close file.
- ColorRgba - Class in com.b3dgs.lionengine
-
Represents a color with red, green, blue and alpha.
- ColorRgba(int, int, int) - Constructor for class com.b3dgs.lionengine.ColorRgba
-
Constructor.
- ColorRgba(int, int, int, int) - Constructor for class com.b3dgs.lionengine.ColorRgba
-
Constructor.
- ColorRgba(int) - Constructor for class com.b3dgs.lionengine.ColorRgba
-
Create a color.
- com.b3dgs.lionengine - package com.b3dgs.lionengine
-
- com.b3dgs.lionengine.anim - package com.b3dgs.lionengine.anim
-
- com.b3dgs.lionengine.audio - package com.b3dgs.lionengine.audio
-
- com.b3dgs.lionengine.core - package com.b3dgs.lionengine.core
-
- com.b3dgs.lionengine.drawable - package com.b3dgs.lionengine.drawable
-
- com.b3dgs.lionengine.file - package com.b3dgs.lionengine.file
-
- Config - Class in com.b3dgs.lionengine.core
-
Describe the engine screen configuration.
- Config(Resolution, int, boolean) - Constructor for class com.b3dgs.lionengine.core.Config
-
Constructor.
- Config(Resolution, int, boolean, Filter) - Constructor for class com.b3dgs.lionengine.core.Config
-
Constructor.
- contains(Rectangle) - Method in interface com.b3dgs.lionengine.Polygon
-
Check if the rectangle contains the other.
- contains(Rectangle) - Method in interface com.b3dgs.lionengine.Rectangle
-
Check if the rectangle contains the other.
- contains(int, int) - Method in interface com.b3dgs.lionengine.Rectangle
-
Check if the rectangle contains the point.
- Coord - Class in com.b3dgs.lionengine
-
Represents a coordinate using double precision.
- Coord() - Constructor for class com.b3dgs.lionengine.Coord
-
Create a coordinate set to (0.0, 0.0)
by default.
- Coord(double, double) - Constructor for class com.b3dgs.lionengine.Coord
-
Constructor.
- copyArea(int, int, int, int, int, int) - Method in interface com.b3dgs.lionengine.Graphic
-
Copies an area of the component by a distance specified by dx
and dy
.
- cos(double) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Get cosinus in degree.
- create() - Static method in class com.b3dgs.lionengine.Checksum
-
Create a new checksum.
- create(String) - Static method in class com.b3dgs.lionengine.core.Media
-
Create a media.
- create(int, int, int) - Static method in class com.b3dgs.lionengine.Version
-
Create a new version descriptor.
- createAnimation(int, int, double, boolean, boolean) - Static method in class com.b3dgs.lionengine.anim.Anim
-
Create an animation, which can be played by an
Animator
.
- createAnimator() - Static method in class com.b3dgs.lionengine.anim.Anim
-
Create an animator, which will be able to play
Animation
.
- createFileReading(Media) - Static method in class com.b3dgs.lionengine.file.File
-
Open a binary file as read only.
- createFileWriting(Media) - Static method in class com.b3dgs.lionengine.file.File
-
Open a binary file as write only.
- createGraphic() - Method in interface com.b3dgs.lionengine.core.ImageBuffer
-
Create the image graphic context.
- createGraphic() - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Create a graphic context.
- createImageBuffer(int, int, Transparency) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Create a compatible buffered image.
- createLine() - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Create a line.
- createLine(double, double, double, double) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Create a line.
- createPolygon() - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Create a polygon.
- createRectangle() - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Create a rectangle.
- createRectangle(double, double, double, double) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Create a rectangle.
- createText(String, int, TextStyle) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Crate a text.
- createXmlNode(String) - Static method in class com.b3dgs.lionengine.file.File
-
Create an XML node from a name.
- createXmlParser() - Static method in class com.b3dgs.lionengine.file.File
-
Create an XML parser, in order to load an XML node from a file.
- critical(Class<?>, String, String...) - Static method in enum com.b3dgs.lionengine.core.Verbose
-
Display a critical verbose message to error output.
- curveValue(double, double, double) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Apply progressive modifications to a value.
- CYAN - Static variable in class com.b3dgs.lionengine.ColorRgba
-
Cyan color.
- get(Media) - Static method in class com.b3dgs.lionengine.ImageInfo
-
Get the image info of the specified image media.
- get() - Method in class com.b3dgs.lionengine.Timing
-
Get timer value.
- getAlpha() - Method in class com.b3dgs.lionengine.ColorRgba
-
Get alpha value.
- getAnimState() - Method in interface com.b3dgs.lionengine.anim.Animator
-
Get current animation state.
- getApplet() - Method in interface com.b3dgs.lionengine.Applet
-
Get applet reference.
- getApplet() - Method in class com.b3dgs.lionengine.core.Config
-
Get applet reference.
- getArchitecture() - Static method in enum com.b3dgs.lionengine.OperatingSystem
-
Get java current running architecture.
- getAttributes() - Method in interface com.b3dgs.lionengine.file.XmlNode
-
Get all attributes.
- getBlue() - Method in class com.b3dgs.lionengine.ColorRgba
-
Get blue value.
- getChild(String) - Method in interface com.b3dgs.lionengine.file.XmlNode
-
Get a child node from its name.
- getChildren(String) - Method in interface com.b3dgs.lionengine.file.XmlNode
-
Get the list of all children with this name.
- getChildren() - Method in interface com.b3dgs.lionengine.file.XmlNode
-
Get list of all children.
- getColor() - Method in interface com.b3dgs.lionengine.Graphic
-
Get the current color.
- getColor1() - Method in class com.b3dgs.lionengine.GradientColor
-
Get the first color.
- getColor2() - Method in class com.b3dgs.lionengine.GradientColor
-
Get the last color.
- getConfig() - Method in class com.b3dgs.lionengine.core.Sequence
-
Get the configuration.
- getDepth() - Method in class com.b3dgs.lionengine.core.Config
-
Get the display depth.
- getDirsList(String) - Static method in class com.b3dgs.lionengine.core.UtilityFile
-
Get all directory existing in the path.
- getDistance(int, int, int, int) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Get integer distance of two points.
- getDistance(double, double, double, double) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Get distance of two points.
- getDistance(int, int, int, int, int, int, int, int) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Get distance in tile between the area.
- getExtension(File) - Static method in class com.b3dgs.lionengine.core.UtilityFile
-
Get a file extension.
- getExtension(String) - Static method in class com.b3dgs.lionengine.core.UtilityFile
-
Get extension from a string (search first dot).
- getFile() - Method in class com.b3dgs.lionengine.core.Media
-
Get the file descriptor.
- getFilenameFromPath(String) - Static method in class com.b3dgs.lionengine.core.UtilityFile
-
Get the filename from a path (last part of a path, after the last separator).
- getFilesList(String) - Static method in class com.b3dgs.lionengine.core.UtilityFile
-
Get all files existing in the path.
- getFilesList(String, String) - Static method in class com.b3dgs.lionengine.core.UtilityFile
-
Get all files existing in the path.
- getFilter() - Method in class com.b3dgs.lionengine.core.Config
-
Get the filter.
- getFirst() - Method in interface com.b3dgs.lionengine.anim.Animation
-
Get the first frame of the animation.
- getFormat() - Method in class com.b3dgs.lionengine.ImageInfo
-
Get image format.
- getFps() - Method in class com.b3dgs.lionengine.core.Sequence
-
Get current frame rate (number of image per second).
- getFrame() - Method in interface com.b3dgs.lionengine.anim.Animator
-
Get the playing frame number.
- getFrame(int) - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Get the representative surface of a frame.
- getFrameAnim() - Method in interface com.b3dgs.lionengine.anim.Animator
-
Get the current playing animation frame number (value between first and last of the current animation).
- getFrameHeight() - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Get current frame height.
- getFrameHeightOriginal() - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Get original frame height.
- getFramesHorizontal() - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Get the number of horizontal frames.
- getFramesNumber() - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Get the number of frames.
- getFramesVertical() - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Get the number of vertical frames.
- getFrameWidth() - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Get current frame width.
- getFrameWidthOriginal() - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Get original frame width.
- getGraphic() - Method in interface com.b3dgs.lionengine.Graphic
-
Get the graphic context.
- getGreen() - Method in class com.b3dgs.lionengine.ColorRgba
-
Get green value.
- getHeight() - Method in interface com.b3dgs.lionengine.core.ImageBuffer
-
Get the surface height.
- getHeight() - Method in interface com.b3dgs.lionengine.drawable.Renderable
-
Get the element height.
- getHeight() - Method in class com.b3dgs.lionengine.ImageInfo
-
Get image height.
- getHeight() - Method in interface com.b3dgs.lionengine.Rectangle
-
Get the width.
- getHeight() - Method in class com.b3dgs.lionengine.Resolution
-
Get the resolution height.
- getHeight() - Method in interface com.b3dgs.lionengine.Text
-
Get the text height.
- getHeightOriginal() - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Get the current sprite height (its current size, after scaling operation).
- getHeightOriginal() - Method in interface com.b3dgs.lionengine.drawable.SpriteParallaxed
-
Get the current sprite height (its current size, after scaling operation).
- getImageBuffer(Media, boolean) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Get a buffered image from an image file.
- getImageBuffer(ImageBuffer) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Get a buffered image from a buffered image.
- getInterpolation() - Method in interface com.b3dgs.lionengine.core.Transform
-
Get the interpolation.
- getKeyboard() - Method in class com.b3dgs.lionengine.core.Sequence
-
Get the keyboard reference.
- getKeyCode() - Method in interface com.b3dgs.lionengine.Keyboard
-
Get the current pressed key code.
- getKeyName() - Method in interface com.b3dgs.lionengine.Keyboard
-
Get the current pressed key name.
- getKeyText(int) - Method in interface com.b3dgs.lionengine.Keyboard
-
Get the text key of the key code.
- getLast() - Method in interface com.b3dgs.lionengine.anim.Animation
-
Get the last frame if the animation.
- getLine(int) - Method in interface com.b3dgs.lionengine.drawable.SpriteParallaxed
-
Get a parallax line (store it on a new buffered image, no reference, can be slow).
- getLocationX() - Method in interface com.b3dgs.lionengine.Text
-
Get the horizontal location.
- getLocationY() - Method in interface com.b3dgs.lionengine.Text
-
Get the vertical location.
- getMajor() - Method in class com.b3dgs.lionengine.Version
-
Get the major number of the version.
- getMaxX() - Method in interface com.b3dgs.lionengine.Rectangle
-
Get the max x location.
- getMaxY() - Method in interface com.b3dgs.lionengine.Rectangle
-
Get the max y location.
- getMessage() - Method in exception com.b3dgs.lionengine.LionEngineException
-
- getMicro() - Method in class com.b3dgs.lionengine.Version
-
Get the micro number of the version.
- getMinor() - Method in class com.b3dgs.lionengine.Version
-
Get the minor number of the version.
- getMinX() - Method in interface com.b3dgs.lionengine.Rectangle
-
Get the min x location.
- getMinY() - Method in interface com.b3dgs.lionengine.Rectangle
-
Get the min y location.
- getMouse() - Method in class com.b3dgs.lionengine.core.Sequence
-
Get the mouse reference.
- getMouseClick() - Method in interface com.b3dgs.lionengine.Mouse
-
Get current pressed click.
- getMoveX() - Method in interface com.b3dgs.lionengine.Mouse
-
Get mouse horizontal move.
- getMoveY() - Method in interface com.b3dgs.lionengine.Mouse
-
Get mouse vertical move.
- getOnScreenX() - Method in interface com.b3dgs.lionengine.Mouse
-
Get location on screen x.
- getOnScreenY() - Method in interface com.b3dgs.lionengine.Mouse
-
Get location on screen y.
- getOnWindowX() - Method in interface com.b3dgs.lionengine.Mouse
-
Get location on window x.
- getOnWindowY() - Method in interface com.b3dgs.lionengine.Mouse
-
Get location on window y.
- getOperatingSystem() - Static method in enum com.b3dgs.lionengine.OperatingSystem
-
Get operating system name.
- getOutput() - Method in class com.b3dgs.lionengine.core.Config
-
Get the resolution output.
- getOutputStream() - Method in class com.b3dgs.lionengine.core.Media
-
Get the media output stream.
- getPath(String...) - Static method in class com.b3dgs.lionengine.core.Media
-
Construct a usable path using a list of string, automatically separated by the portable separator.
- getPath() - Method in class com.b3dgs.lionengine.core.Media
-
Get the media path.
- getPathSeparator(String, String...) - Static method in class com.b3dgs.lionengine.core.Media
-
Construct a usable path using a list of string, automatically separated by the portable separator.
- getPoints() - Method in interface com.b3dgs.lionengine.Polygon
-
Get the points.
- getRandomBoolean() - Static method in class com.b3dgs.lionengine.UtilityRandom
-
Get a random boolean value.
- getRandomDouble() - Static method in class com.b3dgs.lionengine.UtilityRandom
-
Get a random double value.
- getRandomInteger() - Static method in class com.b3dgs.lionengine.UtilityRandom
-
Get a random integer value from 0 and 2^32.
- getRandomInteger(int) - Static method in class com.b3dgs.lionengine.UtilityRandom
-
Get a random value from 0 and a maximum.
- getRandomInteger(int, int) - Static method in class com.b3dgs.lionengine.UtilityRandom
-
Get a random value from an interval.
- getRasterBuffer(ImageBuffer, int, int, int, int, int, int, int) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Get raster buffer from data.
- getRasterColor(int, int[], int) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Get raster color.
- getRate() - Method in class com.b3dgs.lionengine.Resolution
-
Get the display rate.
- getRatio() - Method in class com.b3dgs.lionengine.Resolution
-
Get the resolution ratio.
- getRectangle() - Method in interface com.b3dgs.lionengine.Polygon
-
Get the polygon rectangle bounds.
- getRed() - Method in class com.b3dgs.lionengine.ColorRgba
-
Get red value.
- getRepeat() - Method in interface com.b3dgs.lionengine.anim.Animation
-
Get the repeat state.
- getReverse() - Method in interface com.b3dgs.lionengine.anim.Animation
-
Get the reverse state.
- getRgb(int, int) - Method in interface com.b3dgs.lionengine.core.ImageBuffer
-
Returns an array of integer pixels representing the image data.
- getRgb(int, int, int, int, int[], int, int) - Method in interface com.b3dgs.lionengine.core.ImageBuffer
-
Returns an array of integer pixels representing the image data.
- getRgba() - Method in class com.b3dgs.lionengine.ColorRgba
-
Get the color value.
- getRounded(int, int) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Get the rounded value.
- getScaledImage() - Method in class com.b3dgs.lionengine.core.Hq2x
-
Filtered buffer.
- getScaledImage() - Method in class com.b3dgs.lionengine.core.Hq3x
-
Filtered buffer.
- getScaleX() - Method in interface com.b3dgs.lionengine.core.Transform
-
Get the horizontal scaling.
- getScaleY() - Method in interface com.b3dgs.lionengine.core.Transform
-
Get the vertical scaling.
- getSeparator() - Static method in class com.b3dgs.lionengine.core.Media
-
Get the media separator.
- getSha256(byte[]) - Method in class com.b3dgs.lionengine.Checksum
-
Get the SHA-256 signature of the input bytes.
- getSha256(int) - Method in class com.b3dgs.lionengine.Checksum
-
Get the SHA-256 signature of the input integer.
- getSha256(String) - Method in class com.b3dgs.lionengine.Checksum
-
Get the SHA-256 signature of the input string.
- getSign(int) - Static method in class com.b3dgs.lionengine.core.UtilityMath
-
Get the sign of a value.
- getSize() - Method in interface com.b3dgs.lionengine.Text
-
Get the text size in pixel (8px, 12px...).
- getSource() - Method in class com.b3dgs.lionengine.core.Config
-
Get the resolution source.
- getSpeed() - Method in interface com.b3dgs.lionengine.anim.Animation
-
Get the animation speed.
- getStream() - Method in class com.b3dgs.lionengine.core.Media
-
Get the media stream.
- getStringHeight(Graphic, String) - Method in interface com.b3dgs.lionengine.Text
-
Get string height size.
- getStringRef(String) - Static method in class com.b3dgs.lionengine.Strings
-
Get string reference from its name.
- getStringsRefs() - Static method in class com.b3dgs.lionengine.Strings
-
Get collection of all strings reference.
- getStringWidth(Graphic, String) - Method in interface com.b3dgs.lionengine.Text
-
Get string width size.
- getSurface() - Method in interface com.b3dgs.lionengine.drawable.Image
-
Get the surface which represents the image.
- getSurface() - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Get the sprite surface.
- getTempDir() - Static method in class com.b3dgs.lionengine.core.UtilityFile
-
Get the program temp directory.
- getText() - Method in interface com.b3dgs.lionengine.file.XmlNode
-
Return the text inside the node.
- getTextHeight(String) - Method in interface com.b3dgs.lionengine.drawable.SpriteFont
-
Get global text height.
- getTextWidth(String) - Method in interface com.b3dgs.lionengine.drawable.SpriteFont
-
Get global text width.
- getTicks() - Method in interface com.b3dgs.lionengine.audio.Midi
-
Get the total number of ticks.
- getTile(int) - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Get a tile (store it on a new buffered image, no reference, can be slow).
- getTileHeight() - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Get current tile height.
- getTileHeightOriginal() - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Get original tile height.
- getTilesHorizontal() - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Get the number of horizontal tiles.
- getTilesNumber() - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Get the number of tiles.
- getTilesVertical() - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Get the number of vertical tiles.
- getTileWidth() - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Get current tile width.
- getTileWidthOriginal() - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Get original tile width.
- getTransparency() - Method in interface com.b3dgs.lionengine.core.ImageBuffer
-
Get the image transparency type.
- getWidth() - Method in interface com.b3dgs.lionengine.core.ImageBuffer
-
Get the surface width.
- getWidth() - Method in interface com.b3dgs.lionengine.drawable.Renderable
-
Get the element width.
- getWidth() - Method in class com.b3dgs.lionengine.ImageInfo
-
Get image width.
- getWidth() - Method in interface com.b3dgs.lionengine.Rectangle
-
Get the width.
- getWidth() - Method in class com.b3dgs.lionengine.Resolution
-
Get the resolution width.
- getWidth() - Method in interface com.b3dgs.lionengine.Text
-
Get the text width.
- getWidthOriginal() - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Get the current sprite width (its current size, after scaling operation).
- getWidthOriginal() - Method in interface com.b3dgs.lionengine.drawable.SpriteParallaxed
-
Get the current sprite width (its current size, after scaling operation).
- getX() - Method in class com.b3dgs.lionengine.Coord
-
Get the horizontal location.
- getX() - Method in interface com.b3dgs.lionengine.Rectangle
-
Get the horizontal location.
- getX1() - Method in class com.b3dgs.lionengine.GradientColor
-
Get the first horizontal location.
- getX1() - Method in interface com.b3dgs.lionengine.Line
-
Get the x1 location.
- getX2() - Method in class com.b3dgs.lionengine.GradientColor
-
Get the last horizontal location.
- getX2() - Method in interface com.b3dgs.lionengine.Line
-
Get the x2 location.
- getY() - Method in class com.b3dgs.lionengine.Coord
-
Get the vertical location.
- getY() - Method in interface com.b3dgs.lionengine.Rectangle
-
Get the vertical location.
- getY1() - Method in class com.b3dgs.lionengine.GradientColor
-
Get the first vertical location.
- getY1() - Method in interface com.b3dgs.lionengine.Line
-
Get the y1 location.
- getY2() - Method in class com.b3dgs.lionengine.GradientColor
-
Get the last vertical location.
- getY2() - Method in interface com.b3dgs.lionengine.Line
-
Get the y2 location.
- GradientColor - Class in com.b3dgs.lionengine
-
Represents a gradient color.
- GradientColor(int, int, ColorRgba, int, int, ColorRgba) - Constructor for class com.b3dgs.lionengine.GradientColor
-
Constructor.
- Graphic - Interface in com.b3dgs.lionengine
-
Graphic interface representing the screen buffer.
- GRAY - Static variable in class com.b3dgs.lionengine.ColorRgba
-
Grey color.
- GRAY_DARK - Static variable in class com.b3dgs.lionengine.ColorRgba
-
Light gray.
- GRAY_LIGHT - Static variable in class com.b3dgs.lionengine.ColorRgba
-
Light gray.
- GREEN - Static variable in class com.b3dgs.lionengine.ColorRgba
-
Green color.
- Line - Interface in com.b3dgs.lionengine
-
Line interface.
- LionEngineException - Exception in com.b3dgs.lionengine
-
Special engine exception implementation which limit the trace to the user side.
- LionEngineException(String...) - Constructor for exception com.b3dgs.lionengine.LionEngineException
-
Constructor.
- LionEngineException(Media, String...) - Constructor for exception com.b3dgs.lionengine.LionEngineException
-
Constructor.
- LionEngineException(Throwable, String...) - Constructor for exception com.b3dgs.lionengine.LionEngineException
-
Constructor.
- LionEngineException(Throwable, Media, String...) - Constructor for exception com.b3dgs.lionengine.LionEngineException
-
Constructor.
- load() - Method in class com.b3dgs.lionengine.core.Sequence
-
Loading sequence data.
- load(boolean) - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Load surface and prepare it to be displayed.
- load(Media) - Method in interface com.b3dgs.lionengine.file.XmlParser
-
Load an XML file.
- Loader - Class in com.b3dgs.lionengine.core
-
Engine starter, need to be called for sequence selection and screen initializer.
- Loader(Config) - Constructor for class com.b3dgs.lionengine.core.Loader
-
Constructor.
- loader - Variable in class com.b3dgs.lionengine.core.Sequence
-
Loader reference.
- loadImage(Media) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load an image from a file.
- loadImage(ImageBuffer) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load an image from a java image (sharing the same surface).
- loadMidi(Media) - Static method in class com.b3dgs.lionengine.core.AudioMidi
-
Load a midi file (.mid, .midi)
and prepare it to be played.
- loadRaster(Media) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Load a raster data from a file.
- loadSprite(Media) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load a sprite from a file.
- loadSprite(ImageBuffer) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load a sprite from a buffered image (sharing the same surface).
- loadSpriteAnimated(Media, int, int) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load an animated sprite from a file, giving horizontal and vertical frames.
- loadSpriteAnimated(ImageBuffer, int, int) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load an animated sprite, giving horizontal and vertical frames (sharing the same surface).
- loadSpriteFont(Media, Media, int, int) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load a font based on an image.
- loadSpriteParallaxed(Media, int, int, int) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load a parallaxed sprite, for parallax effect.
- loadSpriteTiled(Media, int, int) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load a tiled sprite from a file, giving tile dimension.
- loadSpriteTiled(ImageBuffer, int, int) - Static method in class com.b3dgs.lionengine.drawable.Drawable
-
Load a tiled sprite using an image reference, giving tile dimension (sharing the same surface).
- loadWav(Media) - Static method in class com.b3dgs.lionengine.core.AudioWav
-
Load a sound file (.wav)
.
- loadWav(Media, int) - Static method in class com.b3dgs.lionengine.core.AudioWav
-
Load a sound file (.wav)
.
- lock() - Method in interface com.b3dgs.lionengine.Mouse
-
Lock mouse at its center.
- lock(int, int) - Method in interface com.b3dgs.lionengine.Mouse
-
Lock mouse at specified location.
- R16_10 - Static variable in class com.b3dgs.lionengine.Ratio
-
Constant representing the 16/10 screen ratio.
- R16_9 - Static variable in class com.b3dgs.lionengine.Ratio
-
Constant representing the 16/9 screen ratio.
- R4_3 - Static variable in class com.b3dgs.lionengine.Ratio
-
Constant representing the 4/3 screen ratio.
- R5_4 - Static variable in class com.b3dgs.lionengine.Ratio
-
Constant representing the 5/4 screen ratio.
- Ratio - Class in com.b3dgs.lionengine
-
List of standard ratios.
- readBoolean() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read a boolean (1 bit, true
or false
).
- readBoolean(String) - Method in interface com.b3dgs.lionengine.file.XmlNodeReader
-
Read a boolean.
- readByte() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read a byte (1 byte, -128 to 127 both included).
- readByte(String) - Method in interface com.b3dgs.lionengine.file.XmlNodeReader
-
Read a byte.
- readChar() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read a char (2 bytes, 0 to 65535 both included).
- readDouble() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read a double (8 bytes, 4.94065645841246544e-324 to 1.79769313486231570e+308 both included).
- readDouble(String) - Method in interface com.b3dgs.lionengine.file.XmlNodeReader
-
Read a double.
- readFloat() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read a float (4 bytes, 1.40129846432481707e-45 to 3.40282346638528860e+38 both included).
- readFloat(String) - Method in interface com.b3dgs.lionengine.file.XmlNodeReader
-
Read a float.
- readInteger() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read an integer (4 bytes, -2.147.483.648 to 2.147.483.647 both included).
- readInteger(String) - Method in interface com.b3dgs.lionengine.file.XmlNodeReader
-
Read an integer.
- readLong() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read a long (8 bytes, -9.223.372.036.854.775.808 to 9.223.372.036.854.775.807 both included).
- readLong(String) - Method in interface com.b3dgs.lionengine.file.XmlNodeReader
-
Read a long.
- readShort() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read a short (2 bytes, -32.768 to 32.767 both included).
- readShort(String) - Method in interface com.b3dgs.lionengine.file.XmlNodeReader
-
Read a short.
- readString() - Method in interface com.b3dgs.lionengine.file.FileReading
-
Read a sequence of characters (2 bytes and more).
- readString(String) - Method in interface com.b3dgs.lionengine.file.XmlNodeReader
-
Read a string.
- Rectangle - Interface in com.b3dgs.lionengine
-
Rectangle interface.
- RED - Static variable in class com.b3dgs.lionengine.ColorRgba
-
Red color.
- removeStringRef(String) - Static method in class com.b3dgs.lionengine.Strings
-
Remove string reference from its name.
- render(Graphic) - Method in class com.b3dgs.lionengine.core.Sequence
-
Render sequence.
- render(Graphic, int, int) - Method in interface com.b3dgs.lionengine.drawable.Renderable
-
Render element on current graphic output, at specified coordinates.
- render(Graphic, int, int) - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Render the sprite on graphic output at specified coordinates.
- render(Graphic, int, int, int) - Method in interface com.b3dgs.lionengine.drawable.SpriteAnimated
-
Render a specific frame on graphic output at specified coordinates.
- render(Graphic, int, int, int) - Method in interface com.b3dgs.lionengine.drawable.SpriteParallaxed
-
Render a line of parallax to the specified coordinates.
- render(Graphic, int, int, int) - Method in interface com.b3dgs.lionengine.drawable.SpriteTiled
-
Render a tile to the specified coordinates.
- render(Graphic) - Method in interface com.b3dgs.lionengine.Text
-
Render configured text.
- Renderable - Interface in com.b3dgs.lionengine.drawable
-
Represents an element that can be rendered on screen.
- reset() - Method in interface com.b3dgs.lionengine.Polygon
-
Reset the polygon.
- resize(ImageBuffer, int, int) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Resize input buffered image.
- Resolution - Class in com.b3dgs.lionengine
-
Describes a display resolution.
- Resolution(int, int, int) - Constructor for class com.b3dgs.lionengine.Resolution
-
Constructor.
- restart() - Method in class com.b3dgs.lionengine.Timing
-
Stop and start the timer.
- resume() - Method in interface com.b3dgs.lionengine.audio.Midi
-
Resume the music (if paused).
- rotate(ImageBuffer, int) - Static method in class com.b3dgs.lionengine.core.UtilityImage
-
Rotate input buffered image.
- rotate(int) - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Rotate the sprite with the specified angle in degree.
- 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.
- setAlignment(Align) - Method in interface com.b3dgs.lionengine.audio.Wav
-
Set sound 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.
- setFade(int, int) - Method in interface com.b3dgs.lionengine.drawable.Sprite
-
Set fade value.
- 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.
- setLoop(long, long) - Method in interface com.b3dgs.lionengine.audio.Midi
-
Set loop area in tick.
- 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).
- setResolution(Resolution) - Method in class com.b3dgs.lionengine.core.Sequence
-
Set the new resolution used by the sequence.
- 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.
- setSeparator(String) - Static method in class com.b3dgs.lionengine.core.Media
-
Set the file separator.
- setStart(long) - Method in interface com.b3dgs.lionengine.audio.Midi
-
Set starting tick (starting music position).
- 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.
- setVolume(int) - Method in interface com.b3dgs.lionengine.audio.Midi
-
Set the midi volume.
- setVolume(int) - Method in interface com.b3dgs.lionengine.audio.Wav
-
Set the sound volume.
- 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.
- source - Variable in class com.b3dgs.lionengine.core.Sequence
-
Source resolution reference.
- 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(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 interface com.b3dgs.lionengine.audio.Midi
-
Stop the music.
- stop() - Method in interface com.b3dgs.lionengine.audio.Wav
-
Stop sound.
- 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.
- SYSTEM_TEMP_DIR - Static variable in class com.b3dgs.lionengine.core.UtilityFile
-
System temp directory.
- valueOf(String) - Static method in enum com.b3dgs.lionengine.Align
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.b3dgs.lionengine.anim.AnimState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.b3dgs.lionengine.Architecture
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.b3dgs.lionengine.core.Verbose
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.b3dgs.lionengine.Filter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.b3dgs.lionengine.OperatingSystem
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.b3dgs.lionengine.TextStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.b3dgs.lionengine.Transparency
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.b3dgs.lionengine.Align
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.b3dgs.lionengine.anim.AnimState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.b3dgs.lionengine.Architecture
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.b3dgs.lionengine.core.Verbose
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.b3dgs.lionengine.Filter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.b3dgs.lionengine.OperatingSystem
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.b3dgs.lionengine.TextStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.b3dgs.lionengine.Transparency
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Verbose - Enum in com.b3dgs.lionengine.core
-
Level of verbosity.
- Version - Class in com.b3dgs.lionengine
-
Represents a program version.
- VOLUME_MAX - Static variable in interface com.b3dgs.lionengine.audio.Midi
-
Maximum volume value.
- VOLUME_MAX - Static variable in interface com.b3dgs.lionengine.audio.Wav
-
Maximum volume value.
- VOLUME_MIN - Static variable in interface com.b3dgs.lionengine.audio.Midi
-
Minimum volume value.
- VOLUME_MIN - Static variable in interface com.b3dgs.lionengine.audio.Wav
-
Minimum volume value.