- callCheck(String, String) - Static method in class ch.hevs.gdx2d.lib.utils.Utils
-
Checks that a method is called only in a given class
- callCheckExcludeGraphicRender() - Static method in class ch.hevs.gdx2d.lib.utils.Utils
-
- camera - Variable in class ch.hevs.gdx2d.lib.GdxGraphics
-
- catmull_chain(int) - Method in class ch.hevs.gdx2d.components.physics.PhysicsChain
-
- CatmullRomSpline - Class in ch.hevs.gdx2d.lib.utils.catmull
-
1D Catmull-Rom spline
Adapted from http://hawkesy.blogspot.ch/2010/05/catmull-rom-spline-curve-implementation.html
- CatmullRomSpline(float, float, float, float) - Constructor for class ch.hevs.gdx2d.lib.utils.catmull.CatmullRomSpline
-
- CatmullRomSpline2D - Class in ch.hevs.gdx2d.lib.utils.catmull
-
2D CatmullRom spline interpolation classes
Adapted from http://hawkesy.blogspot.ch/2010/05/catmull-rom-spline-curve-implementation.html
- CatmullRomSpline2D(Vector2, Vector2, Vector2, Vector2) - Constructor for class ch.hevs.gdx2d.lib.utils.catmull.CatmullRomSpline2D
-
- CatmullRomUtils - Class in ch.hevs.gdx2d.lib.utils.catmull
-
CatmullRom spline interpolation classes
Adapted from http://hawkesy.blogspot.ch/2010/05/catmull-rom-spline-curve-implementation.html
- CatmullRomUtils() - Constructor for class ch.hevs.gdx2d.lib.utils.catmull.CatmullRomUtils
-
- ch.hevs.gdx2d.components - package ch.hevs.gdx2d.components
-
Contains the various components a user might need to instantiate for using the library.
- ch.hevs.gdx2d.components.audio - package ch.hevs.gdx2d.components.audio
-
Contains the classes required to play music with gdx2d.
- ch.hevs.gdx2d.components.bitmaps - package ch.hevs.gdx2d.components.bitmaps
-
Contains the classes required to load images in gdx2d.
- ch.hevs.gdx2d.components.colors - package ch.hevs.gdx2d.components.colors
-
Contains classes to work with colors in gdx2d.
- ch.hevs.gdx2d.components.geometry - package ch.hevs.gdx2d.components.geometry
-
- ch.hevs.gdx2d.components.graphics - package ch.hevs.gdx2d.components.graphics
-
Contains the classes for special geometry shapes in gdx2d.
- ch.hevs.gdx2d.components.physics - package ch.hevs.gdx2d.components.physics
-
Contains multiple classes to create physics simulation objects in the gdx2d code.
- ch.hevs.gdx2d.components.physics.primitives - package ch.hevs.gdx2d.components.physics.primitives
-
- ch.hevs.gdx2d.components.physics.utils - package ch.hevs.gdx2d.components.physics.utils
-
Physics constants and utilities objects.
- ch.hevs.gdx2d.components.screen_management - package ch.hevs.gdx2d.components.screen_management
-
- ch.hevs.gdx2d.components.screen_management.transitions - package ch.hevs.gdx2d.components.screen_management.transitions
-
- ch.hevs.gdx2d.lib - package ch.hevs.gdx2d.lib
-
The library wrapper that is built around libgdx.
- ch.hevs.gdx2d.lib.interfaces - package ch.hevs.gdx2d.lib.interfaces
-
- ch.hevs.gdx2d.lib.physics - package ch.hevs.gdx2d.lib.physics
-
- ch.hevs.gdx2d.lib.renderers - package ch.hevs.gdx2d.lib.renderers
-
- ch.hevs.gdx2d.lib.utils - package ch.hevs.gdx2d.lib.utils
-
- ch.hevs.gdx2d.lib.utils.catmull - package ch.hevs.gdx2d.lib.utils.catmull
-
- CircleShaderRenderer - Class in ch.hevs.gdx2d.lib.renderers
-
An anti-aliased circle shader, based on the circle equation.
- CircleShaderRenderer() - Constructor for class ch.hevs.gdx2d.lib.renderers.CircleShaderRenderer
-
- circleTex - Variable in class ch.hevs.gdx2d.lib.GdxGraphics
-
- clear() - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
- clear(Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Clear the screen with a given
Color.
- clearPixel(float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
- clearPixel(float, float, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Clear a pixel and set it to a custom
Color.
- collision(AbstractPhysicsObject, float) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
A collision occurred between this object and another.
- ColorUtils - Class in ch.hevs.gdx2d.components.colors
-
Color conversion utilities methods.
- contains(Vector2) - Method in class ch.hevs.gdx2d.components.graphics.Polygon
-
Check if a point is in the polygon.
- coordMetersToPixels(Vector2) - Static method in class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
Convert a
Vector2 with meter coordinates to pixels coordinates.
- coordPixelsToMeters(Vector2) - Static method in class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
- COPY - Static variable in class ch.hevs.gdx2d.lib.Version
-
Copyright and authors information.
- createFixture(Shape, float, float, float) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
Creates the fixture (collision information) attached to the object
- createInstance(Class) - Method in class ch.hevs.gdx2d.lib.ScreenManager
-
- currentColor - Variable in class ch.hevs.gdx2d.lib.GdxGraphics
-
- currFbo - Variable in class ch.hevs.gdx2d.lib.ScreenManager
-
- currScreen - Variable in class ch.hevs.gdx2d.lib.ScreenManager
-
- dbg(String) - Static method in class ch.hevs.gdx2d.lib.utils.Logger
-
Log a debug message.
- dbg(String, String) - Static method in class ch.hevs.gdx2d.lib.utils.Logger
-
Log a debug message.
- DEBUG - Static variable in class ch.hevs.gdx2d.lib.utils.Logger
-
Logs all messages.
- DEG_TO_RAD - Static variable in class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
Multiply this ratio to convert degrees to radians.
- destroy() - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
Should be called to destroy a simulated object Warning, deletion will
happen at the next simulation step, not immediately
- dismissAboutBox() - Method in interface ch.hevs.gdx2d.lib.interfaces.AndroidResolver
-
Force to dismiss the about dialog.
- dispose() - Method in class ch.hevs.gdx2d.components.audio.MusicPlayer
-
Release resources when done working with them
- dispose() - Method in class ch.hevs.gdx2d.components.audio.SoundSample
-
Release resources when done working with them
- dispose() - Method in class ch.hevs.gdx2d.components.bitmaps.BitmapImage
-
Release the resources allocated by this
BitmapImage, normally
should be called automatically
- dispose() - Method in class ch.hevs.gdx2d.components.bitmaps.Spritesheet
-
Releases the resources allocated
- dispose() - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- dispose() - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Should be called to release all the resources that have been allocated in
GdxGraphics.
- dispose() - Static method in class ch.hevs.gdx2d.lib.physics.PhysicsWorld
-
To destroy it (required for JNI calls)
- dispose() - Method in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
Release the used resources properly.
- DOWN - Static variable in class ch.hevs.gdx2d.components.screen_management.transitions.SliceTransition
-
- DOWN - Static variable in class ch.hevs.gdx2d.components.screen_management.transitions.SlideTransition
-
- draw(GdxGraphics) - Method in class ch.hevs.gdx2d.components.physics.PhysicsChain
-
A sample implementation for the rendering of a physics chain.
- draw(Texture, float, float, float, float, float, float, float, float, float, int, int, int, int, boolean, boolean) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(Texture, float, float, float, float, int, int, int, int, boolean, boolean) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(Texture, float, float, int, int, int, int) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(Texture, float, float, float, float, float, float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(Texture, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(Texture, float, float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(Texture, float[], int, int) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(TextureRegion, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(TextureRegion, float, float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(TextureRegion, float, float, float, float, float, float, float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(TextureRegion, float, float, float, float, float, float, float, float, float, boolean) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(TextureRegion, float, float, Affine2) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw on the SpriteBatch.
- draw(GdxGraphics) - Method in interface ch.hevs.gdx2d.lib.interfaces.DrawableObject
-
- DrawableObject - Interface in ch.hevs.gdx2d.lib.interfaces
-
An interface that every object you want to draw
should implement to tell how to render it.
- drawAlphaPicture(Vector2, float, BitmapImage) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a picture at a specific position with transparency (alpha).
- drawAlphaPicture(float, float, float, BitmapImage) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a picture at a specific position with transparency (alpha).
- drawAlphaPicture(float, float, float, float, float, BitmapImage) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a picture at a specific position with transparency (alpha).
- drawAntiAliasedCircle(float, float, float, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw an anti-aliased circle (with nice border without jaggies).
- drawBackground(BitmapImage, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw an image in the background that will not move with the camera.
- drawBackground(Texture, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draws a texture in background that will not move with the camera.
- drawCircle(float, float, float, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw an empty (non filled) circle with a custom color.
- drawCircle(float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw an empty (non filled) circle.
- drawFilledBorderedCircle(float, float, float, Color, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a filled circle with a border.
- drawFilledCircle(float, float, float, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a filled circle with a custom color.
- drawFilledPolygon(Polygon, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
- drawFilledRectangle(float, float, float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a filled rectangle.
- drawFilledRectangle(float, float, float, float, float, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a filled rectangle with a custom color.
- drawFPS() - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw frame per second (FPS) information in the bottom left corner of the
screen.
- drawFPS(Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw frame per second (FPS) information in the bottom left corner of the
screen using a custom color.
- drawLine(float, float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
- drawLine(float, float, float, float, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draws a line with a specific color.
- drawPicture(float, float, BitmapImage) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a picture at a specific position.
- drawPolygon(Polygon) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw an empty (not filled)
Polygon.
- drawRectangle(float, float, float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw an empty (not filled) rectangle.
- drawSchoolLogo() - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw the the school logo in the bottom right corner of the screen.
- drawSchoolLogoUpperRight() - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw the school logo in the upper right corner of the screen.
- drawShader() - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw the current assigned shader.
- drawShader(float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw the current assigned shader.
- drawShader(int, int, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Request shader rendering that passes an uniform value with the current
rendering location.
- drawString(float, float, String) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a text at a specified position.
- drawString(float, float, String, BitmapFont) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a text with a specific font at a specified position.
- drawString(float, float, String, int) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a text at a specified position.
- drawString(float, float, String, BitmapFont, int) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a text with a specific font at a specified position.
- drawStringCentered(float, String) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a text in the middle of the screen.
- drawStringCentered(float, String, BitmapFont) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a text in the middle of the screen with a specific font.
- drawTransformedPicture(float, float, float, float, BitmapImage) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draws a picture at a specific position with a scale and an angle.
- drawTransformedPicture(float, float, float, float, float, BitmapImage) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a stretched picture at a specific position.
- drawTransformedPicture(float, float, float, float, float, float, BitmapImage) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Draw a picture at a specific position with a custom center of rotation.
- onClick(int, int, int) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onClick(int, int, int) - Method in interface ch.hevs.gdx2d.lib.interfaces.TouchInterface
-
Invoked when the pointer (mouse or touch) is pressed (once).
- onDispose() - Method in interface ch.hevs.gdx2d.lib.interfaces.GameInterface
-
Called when the application stops.
- onDrag(int, int) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onDrag(int, int) - Method in interface ch.hevs.gdx2d.lib.interfaces.TouchInterface
-
Invoked when the pointer (mouse or touch) is moved and down.
- onFling(float, float, int) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onFling(float, float, int) - Method in interface ch.hevs.gdx2d.lib.interfaces.GestureInterface
-
Called when the user dragged a finger over the screen and lifted it.
- onGameLogicUpdate() - Method in interface ch.hevs.gdx2d.lib.interfaces.GameInterface
-
Called when the logic has to be updated.
- onGraphicRender(GdxGraphics) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onGraphicRender(GdxGraphics) - Method in interface ch.hevs.gdx2d.lib.interfaces.GameInterface
-
Called when the screen is refreshed, in sync with VSync.
- onInit() - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onInit() - Method in interface ch.hevs.gdx2d.lib.interfaces.GameInterface
-
Called when the application starts.
- onKeyDown(int) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onKeyDown(int) - Method in interface ch.hevs.gdx2d.lib.interfaces.KeyboardInterface
-
Invoked when a key is typed.
- onKeyUp(int) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onKeyUp(int) - Method in interface ch.hevs.gdx2d.lib.interfaces.KeyboardInterface
-
Invoked when a key is released.
- onLongPress(float, float) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onLongPress(float, float) - Method in interface ch.hevs.gdx2d.lib.interfaces.GestureInterface
-
Called on long press on Android.
- onPan(float, float, float, float) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onPan(float, float, float, float) - Method in interface ch.hevs.gdx2d.lib.interfaces.GestureInterface
-
Called when the user drags a finger over the screen on Android.
- onPause() - Method in interface ch.hevs.gdx2d.lib.interfaces.GameInterface
-
Invoked when the application is paused.
- onPinch(Vector2, Vector2, Vector2, Vector2) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onPinch(Vector2, Vector2, Vector2, Vector2) - Method in interface ch.hevs.gdx2d.lib.interfaces.GestureInterface
-
Called when a user performs a pinch zoom gesture on Android.
- onRelease(int, int, int) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onRelease(int, int, int) - Method in interface ch.hevs.gdx2d.lib.interfaces.TouchInterface
-
Invoked when the pointer (mouse or touch) is released.
- onResume() - Method in interface ch.hevs.gdx2d.lib.interfaces.GameInterface
-
Called when the application is restarted.
- onScroll(int) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onScroll(int) - Method in interface ch.hevs.gdx2d.lib.interfaces.TouchInterface
-
Invoked when the mouse scroll (wheel) has been moved.
- onTap(float, float, int, int) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onTap(float, float, int, int) - Method in interface ch.hevs.gdx2d.lib.interfaces.GestureInterface
-
Invoked for a tap gesture on Android.
- onZoom(float, float) - Method in class ch.hevs.gdx2d.components.screen_management.RenderingScreen
-
- onZoom(float, float) - Method in interface ch.hevs.gdx2d.lib.interfaces.GestureInterface
-
Called when the user performs a pinch zoom gesture on Android.
- P2M - Static variable in class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
- Palette - Class in ch.hevs.gdx2d.components.colors
-
Nice color palettes for drawing nice stuff.
- Palette() - Constructor for class ch.hevs.gdx2d.components.colors.Palette
-
- PaletteGenerator - Class in ch.hevs.gdx2d.components.colors
-
A color palette generator.
- PaletteGenerator() - Constructor for class ch.hevs.gdx2d.components.colors.PaletteGenerator
-
- pastel1 - Static variable in class ch.hevs.gdx2d.components.colors.Palette
-
A nice set of pastel colors.
- pastel2 - Static variable in class ch.hevs.gdx2d.components.colors.Palette
-
Another set of nice pastel colors.
- PhysicsBox - Class in ch.hevs.gdx2d.components.physics.primitives
-
- PhysicsBox(String, Vector2, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsBox
-
Create a physics box.
- PhysicsBox(String, Vector2, float, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsBox
-
Create a physics box.
- PhysicsBox(String, Vector2, float, float, float, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsBox
-
Create a physics box.
- PhysicsBox(String, Vector2, float, float, float, float, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsBox
-
Create a physics box.
- PhysicsChain - Class in ch.hevs.gdx2d.components.physics
-
A physics chain that connects two points with a given number of rigid segments
that are generated randomly.
- PhysicsChain(Vector2, Vector2, int, PhysicsChain.chain_type) - Constructor for class ch.hevs.gdx2d.components.physics.PhysicsChain
-
- PhysicsChain.chain_type - Enum in ch.hevs.gdx2d.components.physics
-
- PhysicsCircle - Class in ch.hevs.gdx2d.components.physics.primitives
-
- PhysicsCircle(String, Vector2, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsCircle
-
Create a physics circle.
- PhysicsCircle(String, Vector2, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsCircle
-
Create a physics circle.
- PhysicsCircle(String, Vector2, float, float, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsCircle
-
Create a physics circle.
- PhysicsConstants - Class in ch.hevs.gdx2d.components.physics.utils
-
Declares useful physics simulation constants and conversion functions for the Box2D engine.
- PhysicsConstants() - Constructor for class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
- PhysicsMotor - Class in ch.hevs.gdx2d.components.physics
-
A motor to make two objects turn around each other.
- PhysicsMotor(Body, Body, Vector2, float, float, boolean) - Constructor for class ch.hevs.gdx2d.components.physics.PhysicsMotor
-
- PhysicsMotor(Body, Body, Vector2) - Constructor for class ch.hevs.gdx2d.components.physics.PhysicsMotor
-
Another constructor which defines and creates the RevoluteJoint.
- PhysicsPolygon - Class in ch.hevs.gdx2d.components.physics.primitives
-
- PhysicsPolygon(String, Vector2[], float, float, float, boolean) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsPolygon
-
Create a physics polygon.
- PhysicsPolygon(String, Vector2[], boolean) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsPolygon
-
Create a physics polygon.
- PhysicsScreenBoundaries - Class in ch.hevs.gdx2d.components.physics.utils
-
Creates solid boundaries around the screen so everything will stay inside it for physics simulation.
- PhysicsScreenBoundaries(float, float) - Constructor for class ch.hevs.gdx2d.components.physics.utils.PhysicsScreenBoundaries
-
Create a screen boundaries centered on the screen.
- PhysicsStaticBox - Class in ch.hevs.gdx2d.components.physics.primitives
-
- PhysicsStaticBox(String, Vector2, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsStaticBox
-
Create a static box.
- PhysicsStaticBox(String, Vector2, float, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsStaticBox
-
Create a static box.
- PhysicsStaticCircle - Class in ch.hevs.gdx2d.components.physics.primitives
-
- PhysicsStaticCircle(String, Vector2, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsStaticCircle
-
Create a static circle.
- PhysicsStaticCircle(String, Vector2, float, float, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsStaticCircle
-
Create a static circle.
- PhysicsStaticLine - Class in ch.hevs.gdx2d.components.physics.primitives
-
- PhysicsStaticLine(String, Vector2, Vector2) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsStaticLine
-
Create PhysicsStaticLine between two points
- PhysicsStaticLine(String, Vector2, Vector2, float, float, float) - Constructor for class ch.hevs.gdx2d.components.physics.primitives.PhysicsStaticLine
-
Create PhysicsStaticLine between two points
- PhysicsWorld - Class in ch.hevs.gdx2d.lib.physics
-
Gets the single and only physics world, implements a sort of singleton design
pattern (this is not a completely standard singleton because the class
which is generated (World) is not of the type of the containing class (PhysicsWorld).
- pitch - Variable in class ch.hevs.gdx2d.components.audio.SoundSample
-
- PIXEL_TO_METERS - Static variable in class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
Multiply this ratio to convert pixels to meters.
- pixelInScreenSpace(Vector2, Vector2) - Method in class ch.hevs.gdx2d.components.bitmaps.BitmapImage
-
To get the color of a pixel in an image, we
must get translate screen coordinates to image coordinates
This is the role of the following function.
- pixmap - Variable in class ch.hevs.gdx2d.components.bitmaps.BitmapImage
-
- play() - Method in class ch.hevs.gdx2d.components.audio.MusicPlayer
-
Starts playing the song
- play() - Method in class ch.hevs.gdx2d.components.audio.SoundSample
-
- Point - Class in ch.hevs.gdx2d.components.geometry
-
- Point(int, int) - Constructor for class ch.hevs.gdx2d.components.geometry.Point
-
- Polygon - Class in ch.hevs.gdx2d.components.graphics
-
A polygon class for rendering stuff.
- Polygon(Vector2[]) - Constructor for class ch.hevs.gdx2d.components.graphics.Polygon
-
- POSITION_IT - Static variable in class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
- postSolve(Contact, ContactImpulse) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- preSolve(Contact, Manifold) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- print() - Static method in class ch.hevs.gdx2d.lib.Version
-
Print the current version of gdx2d.
- printVerbose() - Static method in class ch.hevs.gdx2d.lib.Version
-
Print the current version of libgdx and gdx2d.
- s - Variable in class ch.hevs.gdx2d.components.audio.MusicPlayer
-
- s - Variable in class ch.hevs.gdx2d.components.audio.SoundSample
-
- s - Variable in class ch.hevs.gdx2d.components.physics.PhysicsChain
-
- sbFlush() - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Flush the current SpriteBatch.
- sbGetColor() - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Get the current color of the SpriteBatch.
- sbSetColor(float, float, float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Set the current color of the SpriteBatch.
- sbSetColor(Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Set the current color of the SpriteBatch.
- scale(Vector2[], float) - Static method in class ch.hevs.gdx2d.components.graphics.GeomUtils
-
- scheduleForDeletion(Body) - Static method in class ch.hevs.gdx2d.lib.physics.PhysicsWorld
-
Schedules an object for deletion when it is doable
- ScreenManager - Class in ch.hevs.gdx2d.lib
-
Handles multiple rendering screens and enables transitions between those screens.
- ScreenManager() - Constructor for class ch.hevs.gdx2d.lib.ScreenManager
-
- ScreenManager.TransactionType - Enum in ch.hevs.gdx2d.lib
-
Available screen transitions effects.
- screens - Variable in class ch.hevs.gdx2d.lib.ScreenManager
-
- ScreenTransition - Interface in ch.hevs.gdx2d.components.screen_management.transitions
-
- screenTransition - Variable in class ch.hevs.gdx2d.lib.ScreenManager
-
- scroll(float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Translate the camera by a value on the X and Y axes.
- setBackgroundColor(Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Set the background color used when pixels are cleared.
- setBlendFunction(int, int) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Set blending function on the SpriteBatch.
- setBodyActive(boolean) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- setBodyActive(boolean) - Method in interface ch.hevs.gdx2d.lib.physics.BodyInterface
-
- setBodyAngularDamping(float) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- setBodyAngularDamping(float) - Method in interface ch.hevs.gdx2d.lib.physics.BodyInterface
-
- setBodyAwake(boolean) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- setBodyAwake(boolean) - Method in interface ch.hevs.gdx2d.lib.physics.BodyInterface
-
- setBodyLinearDamping(float) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- setBodyLinearDamping(float) - Method in interface ch.hevs.gdx2d.lib.physics.BodyInterface
-
- setBodyLinearVelocity(Vector2) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- setBodyLinearVelocity(float, float) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- setBodyLinearVelocity(Vector2) - Method in interface ch.hevs.gdx2d.lib.physics.BodyInterface
-
- setBodyLinearVelocity(float, float) - Method in interface ch.hevs.gdx2d.lib.physics.BodyInterface
-
- setCollisionGroup(int) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
- setColor(Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
- setColor(Vector3) - Method in class ch.hevs.gdx2d.lib.renderers.CircleShaderRenderer
-
Set the circle color.
- setLimits(float, float) - Method in class ch.hevs.gdx2d.components.physics.PhysicsMotor
-
- setLogLevel(int) - Static method in class ch.hevs.gdx2d.lib.utils.Logger
-
Set the logger more or less verbose.
- setLowerLimit(float) - Method in class ch.hevs.gdx2d.components.physics.PhysicsMotor
-
- setMaxMotorTorque(float) - Method in class ch.hevs.gdx2d.components.physics.PhysicsMotor
-
- setMotorSpeed(float) - Method in class ch.hevs.gdx2d.components.physics.PhysicsMotor
-
- setP0(float) - Method in class ch.hevs.gdx2d.lib.utils.catmull.CatmullRomSpline
-
- setP1(float) - Method in class ch.hevs.gdx2d.lib.utils.catmull.CatmullRomSpline
-
- setP2(float) - Method in class ch.hevs.gdx2d.lib.utils.catmull.CatmullRomSpline
-
- setP3(float) - Method in class ch.hevs.gdx2d.lib.utils.catmull.CatmullRomSpline
-
- setPenWidth(float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
A very simple way to change line width for shape operators (line, ...).
- setPitch(float) - Method in class ch.hevs.gdx2d.components.audio.SoundSample
-
Changes the speed (pitch) at which the sound is played.
- setPixel(float, float) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
- setPixel(float, float, Color) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Sets the color of a pixel using a custom
Color.
- setPosition(Vector2) - Method in class ch.hevs.gdx2d.lib.renderers.CircleShaderRenderer
-
Set the circle position.
- setRadius(float) - Method in class ch.hevs.gdx2d.lib.renderers.CircleShaderRenderer
-
Set the circle radius.
- setSensor(boolean) - Method in class ch.hevs.gdx2d.lib.physics.AbstractPhysicsObject
-
Set (or unset) sensor mode
- setShader(String) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Set a shader to be drawn.
- setShader(String, int, int) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Set a shader to be drawn with a specific size.
- setShaderRenderer(ShaderRenderer) - Method in class ch.hevs.gdx2d.lib.GdxGraphics
-
Set a custom shader renderer.
- setTexture(Texture, int) - Method in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
- setUniform(String, int) - Method in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
Set an uniform pair (key, value) that is passed to the shader.
- setUniform(String, boolean) - Method in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
Sets an uniform pair (key, value) that is passed to the shader
- setUniform(String, float) - Method in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
Sets an uniform pair (key, value) that is passed to the shader
- setUniform(String, float[]) - Method in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
Sets an uniform pair (key, value) that is passed to the shader
- setUniform(String, Vector2) - Method in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
Sets an uniform pair (key, value) that is passed to the shader
- setUniform(String, Vector3) - Method in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
Sets an uniform pair (key, value) that is passed to the shader
- setUpperLimit(float) - Method in class ch.hevs.gdx2d.components.physics.PhysicsMotor
-
- setVolume(float) - Method in class ch.hevs.gdx2d.components.audio.MusicPlayer
-
Changes volume of the song played
- setVolume(float) - Method in class ch.hevs.gdx2d.components.audio.SoundSample
-
Changes volume of the song played
- shader - Variable in class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
- ShaderRenderer - Class in ch.hevs.gdx2d.lib.renderers
-
Render things using a GLSL shader program included in a file.
- ShaderRenderer(String, int, int) - Constructor for class ch.hevs.gdx2d.lib.renderers.ShaderRenderer
-
Create a shader render from an existing shader file.
- showAboutBox() - Method in interface ch.hevs.gdx2d.lib.interfaces.AndroidResolver
-
Display an about dialog Activity.
- showToast(CharSequence, int) - Method in interface ch.hevs.gdx2d.lib.interfaces.AndroidResolver
-
Show an Android Toast on the screen with default position on the screen
(bottom center).
- SliceTransition - Class in ch.hevs.gdx2d.components.screen_management.transitions
-
From LibGDX Game Development Second Edition
- SliceTransition() - Constructor for class ch.hevs.gdx2d.components.screen_management.transitions.SliceTransition
-
- sliceTransitionToNext() - Method in class ch.hevs.gdx2d.lib.ScreenManager
-
Called to transition to the next screen with slicing.
- SlideTransition - Class in ch.hevs.gdx2d.components.screen_management.transitions
-
From LibGDX Game Development Second Edition
- SlideTransition() - Constructor for class ch.hevs.gdx2d.components.screen_management.transitions.SlideTransition
-
- slideTransitionToNext() - Method in class ch.hevs.gdx2d.lib.ScreenManager
-
Called to transition to the next screen with sliding.
- SmoothTransition - Class in ch.hevs.gdx2d.components.screen_management.transitions
-
From LibGDX Game Development Second Edition
- SmoothTransition() - Constructor for class ch.hevs.gdx2d.components.screen_management.transitions.SmoothTransition
-
- smoothTransitionToNext() - Method in class ch.hevs.gdx2d.lib.ScreenManager
-
Called to transition to the next screen with fade-out.
- SoundSample - Class in ch.hevs.gdx2d.components.audio
-
A class to play short samples within gdx2d.
- SoundSample(String) - Constructor for class ch.hevs.gdx2d.components.audio.SoundSample
-
Constructor
- SPEEDUP - Static variable in class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
- spriteBatch - Variable in class ch.hevs.gdx2d.lib.GdxGraphics
-
- sprites - Variable in class ch.hevs.gdx2d.components.bitmaps.Spritesheet
-
- Spritesheet - Class in ch.hevs.gdx2d.components.bitmaps
-
A class to load a spritesheet which is more or less
a bidimensional array of
TextureRegion.
- Spritesheet(String, int, int) - Constructor for class ch.hevs.gdx2d.components.bitmaps.Spritesheet
-
- start - Variable in class ch.hevs.gdx2d.components.physics.PhysicsChain
-
- STEP_SIZE - Static variable in class ch.hevs.gdx2d.components.physics.utils.PhysicsConstants
-
Default simulation step (60 FPS).
- stop() - Method in class ch.hevs.gdx2d.components.audio.MusicPlayer
-
Stops playing the song
- stop() - Method in class ch.hevs.gdx2d.components.audio.SoundSample
-
Stops playing the sample
- stop - Variable in class ch.hevs.gdx2d.components.physics.PhysicsChain
-
- subdividePoints(Vector2[], int) - Static method in class ch.hevs.gdx2d.lib.utils.catmull.CatmullRomUtils
-
Creates catmull spline curves between the points array.