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 void set(float x1, float y1, float x2, float y2);
22 }
23
27 void update(Vector2f location, float facing);
28
29 List<SegmentAPI> getSegments();
30
31
35 void clear();
36
44 void addSegment(float x1, float y1, float x2, float y2);
45
51 void addSegment(float x2, float y2);
52
53 List<SegmentAPI> getOrigSegments();
54}
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()