Starsector API
Loading...
Searching...
No Matches
PLTextEntry.java
Go to the documentation of this file.
1
package
com.fs.starfarer.api.impl.campaign.plog;
2
3
import
java.awt.Color;
4
5
import
com.fs.starfarer.api.util.Misc;
6
7
public
class
PLTextEntry
extends
BasePLEntry
{
8
9
protected
Boolean
story
=
null
;
10
11
public
PLTextEntry
(String
text
) {
12
super(
text
);
13
}
14
15
public
PLTextEntry
(String
text
,
boolean
story
) {
16
super(
text
);
17
this.story =
story
;
18
}
19
20
@Override
21
public
Color
getColor
() {
22
if
(
story
!=
null
&&
story
) {
23
return
Misc.getStoryOptionColor();
24
}
25
return
super.getColor();
26
}
27
28
}
com.fs.starfarer.api.impl.campaign.plog.BasePLEntry
Definition
BasePLEntry.java:8
com.fs.starfarer.api.impl.campaign.plog.BasePLEntry.text
String text
Definition
BasePLEntry.java:14
com.fs.starfarer.api.impl.campaign.plog.PLTextEntry
Definition
PLTextEntry.java:7
com.fs.starfarer.api.impl.campaign.plog.PLTextEntry.PLTextEntry
PLTextEntry(String text)
Definition
PLTextEntry.java:11
com.fs.starfarer.api.impl.campaign.plog.PLTextEntry.PLTextEntry
PLTextEntry(String text, boolean story)
Definition
PLTextEntry.java:15
com.fs.starfarer.api.impl.campaign.plog.PLTextEntry.getColor
Color getColor()
Definition
PLTextEntry.java:21
com.fs.starfarer.api.impl.campaign.plog.PLTextEntry.story
Boolean story
Definition
PLTextEntry.java:9
src
com
fs
starfarer
api
impl
campaign
plog
PLTextEntry.java
Generated by
1.9.8