- get(String...) - Static method in class com.b3dgs.lionengine.core.Media
-
Get a media from its path (start by default in the resources directory).
- get(File) - Static method in class com.b3dgs.lionengine.core.Media
-
Get a media from an existing file descriptor.
- 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.
- 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.AppletMock
-
- 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.
- 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.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.UtilityFile
-
Get a file extension.
- getExtension(String) - Static method in class com.b3dgs.lionengine.UtilityFile
-
Get extension from a string (search first dot).
- getFile(String, InputStream) - Static method in class com.b3dgs.lionengine.core.Media
-
Copy stream into a temporary file and return this file (localized on current system).
- getFilenameFromPath(String) - Static method in class com.b3dgs.lionengine.core.Media
-
Get the filename from a path (last part of a path, after the last separator).
- getFilesList(String) - Static method in class com.b3dgs.lionengine.UtilityFile
-
Get all files existing in the path.
- getFilesList(String, String) - Static method in class com.b3dgs.lionengine.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.
- 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.Mouse
-
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.
- 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.
- getProgramName() - Static method in class com.b3dgs.lionengine.core.Engine
-
Get the program name (Engine must have been started).
- getProgramVersion() - Static method in class com.b3dgs.lionengine.core.Engine
-
Get the program version (Engine must have been started).
- 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.
- getRepeat() - Method in interface com.b3dgs.lionengine.anim.Animation
-
Get the repeat state.
- getRessourcesDir() - Static method in class com.b3dgs.lionengine.core.Media
-
Get current resource directory.
- 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 current separator character (equals / in case of applet, else OS dependent).
- 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(Media, String) - Static method in class com.b3dgs.lionengine.core.Media
-
Get stream of specified path.
- getStream(Media, String, boolean) - Static method in class com.b3dgs.lionengine.core.Media
-
Get stream of specified path.
- 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.Media
-
Get temporary directory (where are stored files from jar).
- getTempFile(Media, boolean, boolean) - Static method in class com.b3dgs.lionengine.core.Media
-
Get a temporary file, including cache check.
- 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.
- 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).
- getWorkingDir() - Static method in class com.b3dgs.lionengine.core.Media
-
Get current working directory (execution directory).
- 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.
- GradientColorTest - Class in com.b3dgs.lionengine
-
Test the gradient color class.
- GradientColorTest() - Constructor for class com.b3dgs.lionengine.GradientColorTest
-
- 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.