com.annahid.libs.artenus.physics
Contains the physics simulation framework. Using the classes and interfaces in this package, you
can integrate 2-dimensional physics into the game.
Interface Summary
Interface | Description |
---|---|
CollisionListener | Interface for classes that process physical collision events. |
Shape | Interface for 2-dimensional physical shapes. |
Class Summary
Class | Description |
---|---|
CircleShape | Represents a circular Shape that can be used for
physical simulation. |
CollisionInfo | Contains information about a collision. |
JointDescriptor | Superclass for all classes that describe joints in physical simulation. |
PhysicalBody | Represents a physical body in physics simulation. |
PhysicsSimulator | Performs physical simulation in the framework. |
PolygonShape | Represents a Shape consisting of a convex polygon. |
RectangleShape | Represents a rectangular Shape that can be used for
physical simulation. |
RevoluteJointDescriptor | Provides an implementation of JointDescriptor
that describes a revolute joint. |
Enum Summary
Enum | Description |
---|---|
PhysicalBody.Behavior | The Behavior specifies how a physical body is simulated. |