public class NebulaTerrainPlugin extends BaseTiledTerrain implements BattleCreationPluginImpl.NebulaTextureProvider
BaseTiledTerrain.TileParams
Modifier and Type | Field and Description |
---|---|
static float |
TILE_SIZE |
static float |
VISIBLITY_MULT |
elapsed, mapTexture, params, savedTiles, texture, tiles, tileSeed
entity, EXTRA_SOUND_RADIUS, name, TERRAIN_LOCK_KEY, terrainId
Constructor and Description |
---|
NebulaTerrainPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount) |
void |
applyEffect(SectorEntityToken entity,
float days) |
void |
createTooltip(TooltipMakerAPI tooltip,
boolean expanded) |
java.util.EnumSet<CampaignEngineLayers> |
getActiveLayers()
Set of layers can not change.
|
java.lang.String |
getEffectCategory() |
java.lang.String |
getNameForTooltip() |
java.lang.String |
getNebulaMapTex() |
java.lang.String |
getNebulaTex() |
java.awt.Color |
getRenderColor() |
float |
getTileContainsSize() |
float |
getTileRenderSize() |
float |
getTileSize() |
float |
getTooltipWidth() |
boolean |
hasAIFlag(java.lang.Object flag) |
boolean |
hasTooltip() |
void |
init(java.lang.String terrainId,
SectorEntityToken entity,
java.lang.Object param) |
boolean |
isTooltipExpandable() |
void |
preMapRender(float alphaMult) |
void |
preRender(CampaignEngineLayers layer,
float alphaMult) |
protected java.lang.Object |
readResolve() |
void |
render(CampaignEngineLayers layer,
ViewportAPI viewport) |
protected void |
renderSubArea(float startColumn,
float endColumn,
float startRow,
float endRow,
float factor,
int samples,
float alphaMult) |
containsEntity, containsPoint, decodeTiles, encodeTiles, getExtraSoundRadius, getMaxEffectRadius, getMinEffectRadius, getNumMapSamples, getOptimalEffectRadius, getParams, getProximitySoundFactor, getRenderRange, getTileCenter, getTiles, isTileVisible, main, regenTiles, renderOnMap, renderOnMapAbove, renderQuad, toByteArray, toHexString
canPlayerHoldStationIn, createCombatSection, createFirstSection, createTravelSection, getEntity, getIconSpriteName, getLoopFourPitch, getLoopFourVolume, getLoopOnePitch, getLoopOneVolume, getLoopThreePitch, getLoopThreeVolume, getLoopTwoPitch, getLoopTwoVolume, getModId, getNameAOrAn, getNameColor, getRelatedEntity, getSpec, getTerrainId, getTerrainName, hasAIFlag, hasMapIcon, isPreventedFromAffecting, preventOtherTerrainFromAffecting, preventOtherTerrainFromAffecting, renderOnRadar, setTerrainName, shouldCheckFleetsToApplyEffect, shouldPlayLoopFour, shouldPlayLoopOne, shouldPlayLoopThree, shouldPlayLoopTwo, stacksWithSelf
public static final float TILE_SIZE
public static final float VISIBLITY_MULT
public void init(java.lang.String terrainId, SectorEntityToken entity, java.lang.Object param)
init
in interface CampaignTerrainPlugin
init
in class BaseTiledTerrain
public java.lang.String getNameForTooltip()
getNameForTooltip
in interface CampaignTerrainPlugin
getNameForTooltip
in class BaseTerrain
protected java.lang.Object readResolve()
public java.util.EnumSet<CampaignEngineLayers> getActiveLayers()
CampaignTerrainPlugin
getActiveLayers
in interface CampaignTerrainPlugin
getActiveLayers
in class BaseTerrain
public java.lang.String getNebulaMapTex()
getNebulaMapTex
in interface BattleCreationPluginImpl.NebulaTextureProvider
public java.lang.String getNebulaTex()
getNebulaTex
in interface BattleCreationPluginImpl.NebulaTextureProvider
public void advance(float amount)
advance
in interface CampaignTerrainPlugin
advance
in class BaseTiledTerrain
public void render(CampaignEngineLayers layer, ViewportAPI viewport)
render
in interface CampaignTerrainPlugin
render
in class BaseTiledTerrain
public float getTileRenderSize()
getTileRenderSize
in class BaseTiledTerrain
public float getTileContainsSize()
getTileContainsSize
in class BaseTiledTerrain
public float getTileSize()
getTileSize
in class BaseTiledTerrain
protected void renderSubArea(float startColumn, float endColumn, float startRow, float endRow, float factor, int samples, float alphaMult)
renderSubArea
in class BaseTiledTerrain
public void preRender(CampaignEngineLayers layer, float alphaMult)
preRender
in class BaseTiledTerrain
public void preMapRender(float alphaMult)
preMapRender
in class BaseTiledTerrain
public java.awt.Color getRenderColor()
getRenderColor
in class BaseTiledTerrain
public void applyEffect(SectorEntityToken entity, float days)
applyEffect
in class BaseTerrain
public boolean hasTooltip()
hasTooltip
in interface CampaignTerrainPlugin
hasTooltip
in class BaseTerrain
public void createTooltip(TooltipMakerAPI tooltip, boolean expanded)
createTooltip
in interface CampaignTerrainPlugin
createTooltip
in class BaseTerrain
public boolean isTooltipExpandable()
isTooltipExpandable
in interface CampaignTerrainPlugin
isTooltipExpandable
in class BaseTerrain
public float getTooltipWidth()
getTooltipWidth
in interface CampaignTerrainPlugin
getTooltipWidth
in class BaseTerrain
public java.lang.String getEffectCategory()
getEffectCategory
in class BaseTerrain
public boolean hasAIFlag(java.lang.Object flag)
hasAIFlag
in interface CampaignTerrainPlugin
hasAIFlag
in class BaseTerrain
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.