Starsector API
Loading...
Searching...
No Matches
PlanetSpecAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.campaign;
2
3import java.util.Set;
4
5import java.awt.Color;
6
7import org.lwjgl.util.vector.Vector3f;
8
9import com.fs.starfarer.api.loading.WithSourceMod;
10
11public interface PlanetSpecAPI extends WithSourceMod {
12 String getName();
13 float getTilt();
14 float getPitch();
15 float getRotation();
19 boolean isStar();
20 String getPlanetType();
22 Vector3f getLightPosition();
24 //float getCloudOffset();
25 Color getIconColor();
27
28 void setTilt(float tilt);
29 void setPitch(float pitch);
30 void setRotation(float rotation);
31 void setPlanetColor(Color planetColor);
32 void setCloudRotation(float cloudRotation);
33 void setAtmosphereThickness(float atmosphereThickness);
34 void setAtmosphereThicknessMin(float atmosphereThicknessMin);
35 void setAtmosphereColor(Color atmosphereColor);
36 void setCloudColor(Color cloudColor);
37 void setIconColor(Color iconColor);
38 //void setCloudOffset(float cloudOffset);
39
41 void setCoronaSize(float coronaSize);
43 void setCoronaColor(Color coronaColor);
44
52 void setCloudTexture(String textureName);
53
60 void setTexture(String texture);
61 String getTexture();
62
64
71 void setCoronaTexture(String coronaTexture);
72
79 void setGlowTexture(String glowTexture);
80
82 Color getGlowColor();
83 void setGlowColor(Color glowColor);
85 void setUseReverseLightForGlow(boolean useReverseLightForGlow);
87 String getAOrAn();
88 boolean isBlackHole();
90 boolean isNebulaCenter();
93 void setScaleMultMapIcon(float scaleMultMapIcon);
95 void setScaleMultStarscapeIcon(float scaleMultStarscapeIcon);
97 void setStarscapeIcon(String starscapeIcon);
98 boolean isPulsar();
99 void setPulsar(boolean isPulsar);
100
102 void setShieldThickness(float shieldThickness);
104 void setShieldTexture(String shieldTexture);
106 void setShieldColor(Color shieldColor);
107
109 void setShieldTexture2(String shieldTexture2);
111 void setShieldThickness2(float shieldThickness2);
113 void setShieldColor2(Color shieldColor2);
115 void setDoNotShowInCombat(boolean doNotShowInCombat);
116 boolean isGasGiant();
118 void setDescriptionId(String descriptionId);
119 Set<String> getTags();
120 void addTag(String tag);
121 boolean hasTag(String tag);
122
123}
124
125
void setBlackHole(boolean isBlackHole)
void setUseReverseLightForGlow(boolean useReverseLightForGlow)
void setShieldThickness2(float shieldThickness2)
void setDescriptionId(String descriptionId)
void setScaleMultStarscapeIcon(float scaleMultStarscapeIcon)
void setAtmosphereThicknessMin(float atmosphereThicknessMin)
void setCloudTexture(String textureName)
void setDoNotShowInCombat(boolean doNotShowInCombat)
void setStarscapeIcon(String starscapeIcon)
void setShieldTexture(String shieldTexture)
void setGlowTexture(String glowTexture)
void setNebulaCenter(boolean isNebulaCenter)
void setShieldThickness(float shieldThickness)
void setCloudRotation(float cloudRotation)
void setAtmosphereThickness(float atmosphereThickness)
void setShieldColor2(Color shieldColor2)
void setCoronaTexture(String coronaTexture)
void setAtmosphereColor(Color atmosphereColor)
void setShieldTexture2(String shieldTexture2)
void setScaleMultMapIcon(float scaleMultMapIcon)