Starsector API
Loading...
Searching...
No Matches
BoundsAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.combat;
2
3import java.util.List;
4
5import org.lwjgl.util.vector.Vector2f;
6
17public interface BoundsAPI {
18 public interface SegmentAPI {
19 Vector2f getP1();
20 Vector2f getP2();
21 }
22
26 void update(Vector2f location, float facing);
27
28 List<SegmentAPI> getSegments();
29
30
34 void clear();
35
43 void addSegment(float x1, float y1, float x2, float y2);
44
50 void addSegment(float x2, float y2);
51
52 List<SegmentAPI> getOrigSegments();
53}
void addSegment(float x2, float y2)
void addSegment(float x1, float y1, float x2, float y2)
void update(Vector2f location, float facing)
List< SegmentAPI > getOrigSegments()