Class BaseDwellerShipPart
java.lang.Object
com.fs.starfarer.api.impl.combat.dweller.BaseDwellerShipPart
- All Implemented Interfaces:
DwellerShipPart
- Direct Known Subclasses:
DwellerCombatPlugin.WobblyPart
,ShroudedEyeShipCreator.PlasmaEyePart
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
float
float
float
boolean
org.lwjgl.util.vector.Vector2f
-
Constructor Summary
ConstructorsConstructorDescriptionBaseDwellerShipPart
(org.lwjgl.util.vector.Vector2f offset, float facingOffset) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
advance
(float amount) void
fadeIn()
void
fadeOut()
float
getColor()
getFader()
getId()
getTags()
boolean
void
void
render
(float entityX, float entityY, float alphaMult, float angle, CombatEngineLayers layer) protected void
renderImpl
(float x, float y, float alphaMult, float angle, CombatEngineLayers layer) void
setActivated
(String... tags) void
setAlphaMult
(float alphaMult) void
void
void
void
void
void
-
Field Details
-
id
-
tags
-
offset
public org.lwjgl.util.vector.Vector2f offset -
facingOffset
public float facingOffset -
alphaMult
public float alphaMult -
currBrightness
public float currBrightness -
brightness
-
color
-
additiveBlend
public boolean additiveBlend -
negativeBlend
public boolean negativeBlend -
fader
-
-
Constructor Details
-
BaseDwellerShipPart
public BaseDwellerShipPart(org.lwjgl.util.vector.Vector2f offset, float facingOffset)
-
-
Method Details
-
setSystemActivated
public void setSystemActivated() -
setWeaponActivated
public void setWeaponActivated() -
setShieldActivated
public void setShieldActivated() -
setFluxActivated
public void setFluxActivated() -
setActivated
-
advance
public void advance(float amount) - Specified by:
advance
in interfaceDwellerShipPart
-
render
public void render(float entityX, float entityY, float alphaMult, float angle, CombatEngineLayers layer) - Specified by:
render
in interfaceDwellerShipPart
-
renderImpl
-
fadeOut
public void fadeOut()- Specified by:
fadeOut
in interfaceDwellerShipPart
-
fadeIn
public void fadeIn()- Specified by:
fadeIn
in interfaceDwellerShipPart
-
getFader
- Specified by:
getFader
in interfaceDwellerShipPart
-
getAlphaMult
public float getAlphaMult()- Specified by:
getAlphaMult
in interfaceDwellerShipPart
-
setAlphaMult
public void setAlphaMult(float alphaMult) - Specified by:
setAlphaMult
in interfaceDwellerShipPart
-
getId
- Specified by:
getId
in interfaceDwellerShipPart
-
setId
-
getTags
- Specified by:
getTags
in interfaceDwellerShipPart
-
addTag
- Specified by:
addTag
in interfaceDwellerShipPart
-
removeTag
- Specified by:
removeTag
in interfaceDwellerShipPart
-
hasTag
- Specified by:
hasTag
in interfaceDwellerShipPart
-
getBrightness
- Specified by:
getBrightness
in interfaceDwellerShipPart
-
getColor
- Specified by:
getColor
in interfaceDwellerShipPart
-
setColor
- Specified by:
setColor
in interfaceDwellerShipPart
-