public interface BoundsAPI
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BoundsAPI.SegmentAPI |
| Modifier and Type | Method and Description |
|---|---|
void |
addSegment(float x2,
float y2)
Adds a segment using the end of the previously added segment as the starting point.
|
void |
addSegment(float x1,
float y1,
float x2,
float y2)
Add a new segment.
|
void |
clear()
Remove all segments.
|
java.util.List<BoundsAPI.SegmentAPI> |
getOrigSegments() |
java.util.List<BoundsAPI.SegmentAPI> |
getSegments() |
void |
update(org.lwjgl.util.vector.Vector2f location,
float facing)
Updates the coordinates of the bounds to reflect the specified location and facing.
|
void update(org.lwjgl.util.vector.Vector2f location, float facing)
java.util.List<BoundsAPI.SegmentAPI> getSegments()
void clear()
void addSegment(float x1, float y1, float x2, float y2)
x1 - y1 - x2 - y2 - void addSegment(float x2, float y2)
x2 - y2 - java.util.List<BoundsAPI.SegmentAPI> getOrigSegments()