public class FakeToken extends Object implements SectorEntityToken
SectorEntityToken.VisibilityLevelpublic FakeToken(Vector2f loc, float radius)
public void setLocation(float x,
float y)
setLocation in interface SectorEntityTokenpublic float getRadius()
getRadius in interface SectorEntityTokenpublic boolean isPlayerFleet()
isPlayerFleet in interface SectorEntityTokenpublic MarketAPI getMarket()
getMarket in interface SectorEntityTokenpublic void setMarket(MarketAPI market)
setMarket in interface SectorEntityTokenpublic CargoAPI getCargo()
com.fs.starfarer.api.campaign.SectorEntityTokengetCargo in interface SectorEntityTokenpublic Vector2f getLocation()
getLocation in interface SectorEntityTokenpublic Vector2f getLocationInHyperspace()
com.fs.starfarer.api.campaign.SectorEntityTokengetLocationInHyperspace in interface SectorEntityTokenpublic OrbitAPI getOrbit()
getOrbit in interface SectorEntityTokenpublic void setOrbit(OrbitAPI orbit)
setOrbit in interface SectorEntityTokenpublic String getId()
getId in interface SectorEntityTokenpublic String getName()
getName in interface SectorEntityTokenpublic String getFullName()
getFullName in interface SectorEntityTokenpublic void setFaction(String factionId)
setFaction in interface SectorEntityTokenpublic LocationAPI getContainingLocation()
getContainingLocation in interface SectorEntityTokenpublic FactionAPI getFaction()
getFaction in interface SectorEntityTokenpublic String getCustomDescriptionId()
getCustomDescriptionId in interface SectorEntityTokenpublic void setCustomDescriptionId(String customDescriptionId)
setCustomDescriptionId in interface SectorEntityTokenpublic void setCustomInteractionDialogImageVisual(InteractionDialogImageVisual visual)
setCustomInteractionDialogImageVisual in interface SectorEntityTokenpublic InteractionDialogImageVisual getCustomInteractionDialogImageVisual()
getCustomInteractionDialogImageVisual in interface SectorEntityTokenpublic void setFreeTransfer(boolean freeTransfer)
com.fs.starfarer.api.campaign.SectorEntityTokensetFreeTransfer in interface SectorEntityTokenpublic boolean isFreeTransfer()
isFreeTransfer in interface SectorEntityTokenpublic boolean hasTag(String tag)
hasTag in interface SectorEntityTokenpublic void addTag(String tag)
addTag in interface SectorEntityTokenpublic void removeTag(String tag)
removeTag in interface SectorEntityTokenpublic Collection<String> getTags()
getTags in interface SectorEntityTokenpublic void clearTags()
clearTags in interface SectorEntityTokenpublic void setFixedLocation(float x,
float y)
setFixedLocation in interface SectorEntityTokenpublic void setCircularOrbit(SectorEntityToken focus, float angle, float orbitRadius, float orbitDays)
setCircularOrbit in interface SectorEntityTokenpublic void setCircularOrbitPointingDown(SectorEntityToken focus, float angle, float orbitRadius, float orbitDays)
setCircularOrbitPointingDown in interface SectorEntityTokenpublic void setCircularOrbitWithSpin(SectorEntityToken focus, float angle, float orbitRadius, float orbitDays, float minSpin, float maxSpin)
setCircularOrbitWithSpin in interface SectorEntityTokenpublic MemoryAPI getMemory()
com.fs.starfarer.api.campaign.SectorEntityTokengetMemory in interface HasMemorygetMemory in interface SectorEntityTokenpublic MemoryAPI getMemoryWithoutUpdate()
com.fs.starfarer.api.campaign.SectorEntityTokengetMemoryWithoutUpdate in interface HasMemorygetMemoryWithoutUpdate in interface SectorEntityTokenpublic float getFacing()
getFacing in interface SectorEntityTokenpublic void setFacing(float facing)
setFacing in interface SectorEntityTokenpublic boolean isInHyperspace()
isInHyperspace in interface SectorEntityTokenpublic void addScript(EveryFrameScript script)
addScript in interface SectorEntityTokenpublic void removeScript(EveryFrameScript script)
removeScript in interface SectorEntityTokenpublic void removeScriptsOfClass(Class c)
removeScriptsOfClass in interface SectorEntityTokenpublic boolean isInOrNearSystem(StarSystemAPI system)
com.fs.starfarer.api.campaign.SectorEntityTokenisInOrNearSystem in interface SectorEntityTokenpublic boolean isInCurrentLocation()
isInCurrentLocation in interface SectorEntityTokenpublic Vector2f getVelocity()
com.fs.starfarer.api.campaign.SectorEntityTokengetVelocity in interface SectorEntityTokenpublic void setInteractionImage(String category, String key)
setInteractionImage in interface SectorEntityTokenpublic void setName(String name)
setName in interface SectorEntityTokenpublic boolean isAlive()
com.fs.starfarer.api.campaign.SectorEntityTokenisAlive in interface SectorEntityTokenpublic PersonAPI getActivePerson()
getActivePerson in interface SectorEntityTokenpublic void setActivePerson(PersonAPI activePerson)
setActivePerson in interface SectorEntityTokenpublic boolean isVisibleToSensorsOf(SectorEntityToken other)
isVisibleToSensorsOf in interface SectorEntityTokenpublic boolean isVisibleToPlayerFleet()
isVisibleToPlayerFleet in interface SectorEntityTokenpublic SectorEntityToken.VisibilityLevel getVisibilityLevelToPlayerFleet()
getVisibilityLevelToPlayerFleet in interface SectorEntityTokenpublic SectorEntityToken.VisibilityLevel getVisibilityLevelTo(SectorEntityToken other)
getVisibilityLevelTo in interface SectorEntityTokenpublic void addAbility(String id)
addAbility in interface SectorEntityTokenpublic void removeAbility(String id)
removeAbility in interface SectorEntityTokenpublic AbilityPlugin getAbility(String id)
getAbility in interface SectorEntityTokenpublic boolean hasAbility(String id)
hasAbility in interface SectorEntityTokenpublic Map<String,AbilityPlugin> getAbilities()
getAbilities in interface SectorEntityTokenpublic boolean isTransponderOn()
isTransponderOn in interface SectorEntityTokenpublic void setTransponderOn(boolean transponderOn)
setTransponderOn in interface SectorEntityTokenpublic void addFloatingText(String text, Color color, float duration)
addFloatingText in interface SectorEntityTokenpublic SectorEntityToken getLightSource()
getLightSource in interface SectorEntityTokenpublic Color getLightColor()
getLightColor in interface SectorEntityTokenpublic void setMemory(MemoryAPI memory)
setMemory in interface SectorEntityTokenpublic Map<String,Object> getCustomData()
getCustomData in interface SectorEntityTokenpublic Color getIndicatorColor()
getIndicatorColor in interface SectorEntityTokenpublic CustomCampaignEntityPlugin getCustomPlugin()
com.fs.starfarer.api.campaign.SectorEntityTokengetCustomPlugin in interface SectorEntityTokenpublic float getCircularOrbitRadius()
getCircularOrbitRadius in interface SectorEntityTokenpublic float getCircularOrbitPeriod()
getCircularOrbitPeriod in interface SectorEntityTokenpublic SectorEntityToken getOrbitFocus()
getOrbitFocus in interface SectorEntityTokenpublic void setId(String id)
setId in interface SectorEntityTokenpublic String getAutogenJumpPointNameInHyper()
getAutogenJumpPointNameInHyper in interface SectorEntityTokenpublic void setAutogenJumpPointNameInHyper(String autogenJumpPointNameInHyper)
setAutogenJumpPointNameInHyper in interface SectorEntityTokenpublic boolean isSkipForJumpPointAutoGen()
isSkipForJumpPointAutoGen in interface SectorEntityTokenpublic void setSkipForJumpPointAutoGen(boolean skipForJumpPointAutoGen)
setSkipForJumpPointAutoGen in interface SectorEntityTokenpublic float getCircularOrbitAngle()
getCircularOrbitAngle in interface SectorEntityTokenpublic String getCustomEntityType()
getCustomEntityType in interface SectorEntityTokenpublic float getSensorStrength()
getSensorStrength in interface SectorEntityTokenpublic void setSensorStrength(Float sensorStrength)
setSensorStrength in interface SectorEntityTokenpublic float getSensorProfile()
getSensorProfile in interface SectorEntityTokenpublic void setSensorProfile(Float sensorProfile)
setSensorProfile in interface SectorEntityTokenpublic StatBonus getDetectedRangeMod()
getDetectedRangeMod in interface SectorEntityTokenpublic StatBonus getSensorRangeMod()
getSensorRangeMod in interface SectorEntityTokenpublic float getBaseSensorRangeToDetect(float sensorProfile)
getBaseSensorRangeToDetect in interface SectorEntityTokenpublic boolean hasSensorStrength()
hasSensorStrength in interface SectorEntityTokenpublic boolean hasSensorProfile()
hasSensorProfile in interface SectorEntityTokenpublic float getMaxSensorRangeToDetect(SectorEntityToken other)
com.fs.starfarer.api.campaign.SectorEntityTokengetMaxSensorRangeToDetect in interface SectorEntityTokenpublic boolean isDiscoverable()
isDiscoverable in interface SectorEntityTokenpublic void setDiscoverable(Boolean discoverable)
setDiscoverable in interface SectorEntityTokenpublic CustomEntitySpecAPI getCustomEntitySpec()
getCustomEntitySpec in interface SectorEntityTokenpublic List<SalvageEntityGenDataSpec.DropData> getDropValue()
getDropValue in interface SectorEntityTokenpublic List<SalvageEntityGenDataSpec.DropData> getDropRandom()
getDropRandom in interface SectorEntityTokenpublic void addDropValue(String group, int value)
addDropValue in interface SectorEntityTokenpublic void addDropRandom(String group, int chances)
addDropRandom in interface SectorEntityTokenpublic void addDropRandom(String group, int chances, int value)
addDropRandom in interface SectorEntityTokenpublic boolean isExpired()
isExpired in interface SectorEntityTokenpublic void setExpired(boolean expired)
setExpired in interface SectorEntityTokenpublic float getSensorFaderBrightness()
getSensorFaderBrightness in interface SectorEntityTokenpublic float getSensorContactFaderBrightness()
getSensorContactFaderBrightness in interface SectorEntityTokenpublic void forceSensorFaderBrightness(float b)
forceSensorFaderBrightness in interface SectorEntityTokenpublic Float getDiscoveryXP()
getDiscoveryXP in interface SectorEntityTokenpublic void setDiscoveryXP(Float discoveryXP)
setDiscoveryXP in interface SectorEntityTokenpublic boolean hasDiscoveryXP()
hasDiscoveryXP in interface SectorEntityTokenpublic void addDropValue(SalvageEntityGenDataSpec.DropData data)
addDropValue in interface SectorEntityTokenpublic void addDropRandom(SalvageEntityGenDataSpec.DropData data)
addDropRandom in interface SectorEntityTokenpublic void setAlwaysUseSensorFaderBrightness(Boolean alwaysUseSensorFaderBrightness)
com.fs.starfarer.api.campaign.SectorEntityTokensetAlwaysUseSensorFaderBrightness in interface SectorEntityTokenpublic Boolean getAlwaysUseSensorFaderBrightness()
getAlwaysUseSensorFaderBrightness in interface SectorEntityTokenpublic void advance(float amount)
advance in interface SectorEntityTokenpublic boolean hasScriptOfClass(Class c)
hasScriptOfClass in interface SectorEntityTokenpublic void setContainingLocation(LocationAPI location)
setContainingLocation in interface SectorEntityTokenpublic void clearAbilities()
clearAbilities in interface SectorEntityTokenpublic Constellation getConstellation()
getConstellation in interface SectorEntityTokenpublic boolean isStar()
isStar in interface SectorEntityTokenpublic Float getSalvageXP()
getSalvageXP in interface SectorEntityTokenpublic void setSalvageXP(Float salvageXP)
setSalvageXP in interface SectorEntityTokenpublic boolean hasSalvageXP()
hasSalvageXP in interface SectorEntityTokenpublic void setDetectionRangeDetailsOverrideMult(Float detectionRangeDetailsOverrideMult)
setDetectionRangeDetailsOverrideMult in interface SectorEntityTokenpublic Float getDetectionRangeDetailsOverrideMult()
getDetectionRangeDetailsOverrideMult in interface SectorEntityTokenpublic SectorEntityToken.VisibilityLevel getVisibilityLevelOfPlayerFleet()
getVisibilityLevelOfPlayerFleet in interface SectorEntityTokenpublic void setCircularOrbitAngle(float angle)
setCircularOrbitAngle in interface SectorEntityTokenpublic void addFloatingText(String text, Color color, float duration, boolean showWhenOnlySensorContact)
addFloatingText in interface SectorEntityTokenpublic boolean isSystemCenter()
isSystemCenter in interface SectorEntityTokenpublic StarSystemAPI getStarSystem()
getStarSystem in interface SectorEntityTokenpublic void clearFloatingText()
clearFloatingText in interface SectorEntityTokenpublic void autoUpdateHyperLocationBasedOnInSystemEntityAtRadius(SectorEntityToken sectorEntityToken, float v)
autoUpdateHyperLocationBasedOnInSystemEntityAtRadius in interface SectorEntityTokenpublic void forceSensorContactFaderBrightness(float b)
forceSensorContactFaderBrightness in interface SectorEntityTokenpublic void forceSensorFaderOut()
forceSensorFaderOut in interface SectorEntityTokenpublic void setLightSource(SectorEntityToken star, Color color)
setLightSource in interface SectorEntityTokenpublic List<EveryFrameScript> getScripts()
getScripts in interface SectorEntityToken