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(Vector2f location,
float facing)
Updates the coordinates of the bounds to reflect the specified location and facing.
|
void update(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()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.