|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Shape | |
---|---|
vooga.physicsEngine | |
vooga.physicsEngine.geometry | |
vooga.physicsEngine.geometry.shapes |
Uses of Shape in vooga.physicsEngine |
---|
Constructors in vooga.physicsEngine with parameters of type Shape | |
---|---|
GamePhysicalParameters(Shape shape,
PhysicalItem parent)
Create a GamePhysicalParameters object based on given
Shape and parent PhysicalItem. |
|
PhysicalItem(Shape shape)
Create a PhysicalItem based on a vooga.physicsEngine.geometry.shapes.Shape object. |
|
PhysicalItem(Shape shape,
java.awt.Color color)
Create a Physical item with given vooga.physicsEngine.geometry.shapes.Shape and color. |
|
PhysicalParameters(Shape shape)
Called by outside users of physics module to create an encapsulation of a physical object with given Shape |
Uses of Shape in vooga.physicsEngine.geometry |
---|
Fields in vooga.physicsEngine.geometry declared as Shape | |
---|---|
protected Shape |
GeometricParameters.shape
|
Methods in vooga.physicsEngine.geometry that return Shape | |
---|---|
Shape |
GeometricParameters.getShape()
|
Constructors in vooga.physicsEngine.geometry with parameters of type Shape | |
---|---|
GeometricParameters(Shape shape)
Creates a GeometricParameters object, represents a 2D geometric object with some shape, position, and location. |
|
GeometricParameters(Shape shape,
Vector2f position)
Creates a GeometricParameters object with given shape and position. |
|
GeometricParameters(Shape shape,
Vector2f position,
double angularPosition)
Creates a GeometricParameters object with given shape, position and angularPosition. |
Uses of Shape in vooga.physicsEngine.geometry.shapes |
---|
Classes in vooga.physicsEngine.geometry.shapes that implement Shape | |
---|---|
class |
Circle
Shape class that represents a circle. |
class |
JavaShape
Shape implementation that uses the java.awt.Shape framework as
the back-end. |
class |
Polygon
Represents a general polygon, represented by an ordered set of vertices. |
Methods in vooga.physicsEngine.geometry.shapes that return Shape | |
---|---|
static Shape |
ShapeFactory.makeRectangle(double width,
double height)
Creates a rectangle ( Polygon ) of given width and height. |
static Shape |
ShapeFactory.makeRectangleWithCentroid(double width,
double height,
double xOffset,
double yOffset)
Create a rectangle ( Polygon ) of given width and height and
coordinate of top left corner. |
Methods in vooga.physicsEngine.geometry.shapes with parameters of type Shape | |
---|---|
static java.awt.Shape |
ShapeFactory.getJavaShapeFromShape(Shape shape)
Create a JavaShape object from a Shape object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |