001package com.fs.starfarer.api.impl.campaign.plog; 002 003import java.awt.Color; 004 005import com.fs.starfarer.api.util.Misc; 006 007public class PLTextEntry extends BasePLEntry { 008 009 protected Boolean story = null; 010 011 public PLTextEntry(String text) { 012 super(text); 013 } 014 015 public PLTextEntry(String text, boolean story) { 016 super(text); 017 this.story = story; 018 } 019 020 @Override 021 public Color getColor() { 022 if (story != null && story) { 023 return Misc.getStoryOptionColor(); 024 } 025 return super.getColor(); 026 } 027 028}