Starsector API
Loading...
Searching...
No Matches
CombatNebulaAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.combat;
2
3import org.lwjgl.util.vector.Vector2f;
4
12public interface CombatNebulaAPI {
13
14 public interface CloudAPI {
15 void thicken(float thicknessGain);
16 Vector2f getLocation();
17 float getThickness();
18 void setThickness(float thickness);
19
20 }
21
24
26 boolean tileHasNebula(int cellX, int cellY);
27 boolean locationHasNebula(float x, float y);
28
33 int getLeftOf();
34
35
40 int getBelow();
41
47
52 int getAbove();
53
54 void setHasNebula(int cellX, int cellY, float brightness);
55 CloudAPI getCloud(float x, float y);
56 CloudAPI getCloud(int cellX, int cellY);
57}
CloudAPI getCloud(float x, float y)
boolean tileHasNebula(int cellX, int cellY)
boolean locationHasNebula(float x, float y)
CloudAPI getCloud(int cellX, int cellY)
void setHasNebula(int cellX, int cellY, float brightness)