Package | Description |
---|---|
city.cs.engine |
Simple wrapper around the JBox2D physics engine.
|
Modifier and Type | Method and Description |
---|---|
BodyImage |
AttachedImage.getBodyImage()
The
BodyImage of which this is an instance. |
Modifier and Type | Method and Description |
---|---|
AttachedImage |
Body.addImage(BodyImage image)
Convenience method to attach an instance of an image.
|
Constructor and Description |
---|
AttachedImage(Body body,
BodyImage image,
float scale,
float rotation,
Vec2 offset)
Create a new instance of an image.
|