|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.physics.box2d.Shape
com.badlogic.gdx.physics.box2d.CircleShape
public class CircleShape
A circle shape.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.badlogic.gdx.physics.box2d.Shape |
---|
Shape.Type |
Field Summary |
---|
Fields inherited from class com.badlogic.gdx.physics.box2d.Shape |
---|
addr |
Constructor Summary | |
---|---|
|
CircleShape()
|
protected |
CircleShape(long addr)
|
Method Summary | |
---|---|
Vector2 |
getPosition()
|
Shape.Type |
getType()
Get the type of this shape. |
void |
setPosition(Vector2 position)
Sets the position of the shape |
Methods inherited from class com.badlogic.gdx.physics.box2d.Shape |
---|
dispose, getChildCount, getRadius, jniGetType, setRadius |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CircleShape()
protected CircleShape(long addr)
Method Detail |
---|
public Shape.Type getType()
getType
in class Shape
public Vector2 getPosition()
public void setPosition(Vector2 position)
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |