games.rednblack.editor.renderer.components.physics.SensorUserData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime-libgdx Show documentation
Show all versions of runtime-libgdx Show documentation
HyperLap2D libGDX runtime to render exported scenes
The newest version!
package games.rednblack.editor.renderer.components.physics;
/**
* This enum is used to check which body sensor collides with another box2d object.
*
* Each surrounding sensor sets the user data to the corresponding enum.
*
* @author Jan-Thierry Wegener
*/
public enum SensorUserData {
/**
* Bottom sensor.
*/
BOTTOM,
/**
* Left sensor.
*/
LEFT,
/**
* Right sensor.
*/
RIGHT,
/**
* Top sensor.
*/
TOP
}