|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.collision.ShapeDef
org.jbox2d.collision.PolygonDef
public class PolygonDef
Field Summary | |
---|---|
java.util.List<Vec2> |
vertices
|
Fields inherited from class org.jbox2d.collision.ShapeDef |
---|
categoryBits, density, friction, groupIndex, isSensor, maskBits, restitution, type, userData |
Constructor Summary | |
---|---|
PolygonDef()
|
Method Summary | |
---|---|
void |
setAsBox(float hx,
float hy)
|
void |
setAsBox(float hx,
float hy,
Vec2 center,
float angle)
|
int |
vertexCount()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.List<Vec2> vertices
Constructor Detail |
---|
public PolygonDef()
Method Detail |
---|
public void setAsBox(float hx, float hy)
public void setAsBox(float hx, float hy, Vec2 center, float angle)
public int vertexCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |