|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.phys2d.raw.shapes.AbstractShape
Super class of generic shapes in the engine
Field Summary | |
protected AABox |
bounds
The circular bounds that fit the shape based on the position of the body |
Constructor Summary | |
protected |
AbstractShape()
Construct a new shape as subclas swhich will specified it's own bounds |
|
AbstractShape(AABox bounds)
Create a shape |
Method Summary | |
AABox |
getBounds()
Get the box bounds of the shape |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.phys2d.raw.shapes.Shape |
getSurfaceFactor |
Field Detail |
protected AABox bounds
Constructor Detail |
protected AbstractShape()
public AbstractShape(AABox bounds)
bounds
- The bounds of the shapeMethod Detail |
public AABox getBounds()
Shape
getBounds
in interface Shape
Shape.getBounds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |