| Package | Description |
|---|---|
| com.almasb.fxgl.physics |
| Modifier and Type | Method and Description |
|---|---|
static BoundingShape |
BoundingShape.box(double width,
double height)
Constructs new rectangular bounding shape with given width and height.
|
static BoundingShape |
BoundingShape.chain(javafx.geometry.Point2D... points)
Constructs new closed chain shaped bounding shape.
|
static BoundingShape |
BoundingShape.circle(double radius)
Constructs new circular bounding shape with given radius.
|
BoundingShape |
HitBox.getShape() |
| Constructor and Description |
|---|
HitBox(String name,
BoundingShape shape)
Creates a hit box with given name and shape.
|
HitBox(String name,
javafx.geometry.Point2D localOrigin,
BoundingShape shape)
Creates a hit box with given name, local origin (top-left) and shape.
|
Copyright © 2017. All rights reserved.