| Modifier and Type | Field and Description |
|---|---|
| private final Vector2 | |
| private final float[] | tmp
Returns the position of the shape |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Vector2 | |
| public Shape. | getType()
Implements abstract com. Get the type of this shape. |
| private native void | |
| private native void | |
| private native long | |
| public void |
| position | back to summary |
|---|---|
| private final Vector2 position | |
| tmp | back to summary |
|---|---|
| private final float[] tmp Returns the position of the shape | |
| CircleShape | back to summary |
|---|---|
| public CircleShape() | |
| CircleShape | back to summary |
|---|---|
| protected CircleShape(long addr) | |
| getPosition | back to summary |
|---|---|
| public Vector2 getPosition() | |
| getType | back to summary |
|---|---|
| public Shape. Implements abstract com. Doc from com. Get the type of this shape. You can use this to down cast to the concrete shape.
| |
| jniGetPosition | back to summary |
|---|---|
| private native void jniGetPosition(long addr, float[] position) | |
| jniSetPosition | back to summary |
|---|---|
| private native void jniSetPosition(long addr, float positionX, float positionY) | |
| newCircleShape | back to summary |
|---|---|
| private native long newCircleShape() | |
| setPosition | back to summary |
|---|---|
| public void setPosition(Vector2 position) Sets the position of the shape | |