1package com.fs.starfarer.api.ui;
5import org.lwjgl.util.vector.Vector2f;
7import com.fs.starfarer.api.Global;
8import com.fs.starfarer.api.campaign.LocationAPI;
9import com.fs.starfarer.api.campaign.econ.MarketAPI;
10import com.fs.starfarer.api.util.Misc;
24 if (this.location ==
null) {
27 this.color = Misc.scaleColorOnly(
color, 0.67f);
32 this.color = Misc.scaleColorOnly(
color, 0.67f);
34 if (this.location ==
null) {
43 this.color = Misc.scaleColorOnly(
color, 0.67f);
44 if (this.location ==
null) {
49 float size = market.getSize();
50 float scale = size / 8f;
static SectorAPI getSector()
MarkerData(Vector2f coordinates, LocationAPI location)
MarkerData(Vector2f coordinates, LocationAPI location, Color color, float scale)
MarkerData(Vector2f coordinates, LocationAPI location, float scale)
static float getScaleForMarket(MarketAPI market)
MarkerData(Vector2f coordinates, LocationAPI location, Color color)