Class IsoLightSource
java.lang.Object
zombie.iso.IsoLightSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatbooleanbooleanbooleanfloatbooleanfloatfloatintintstatic intfloatintfloatintintintint -
Constructor Summary
ConstructorsConstructorDescriptionIsoLightSource(int _x, int _y, int _z, float _r, float _g, float _b, int _radius) IsoLightSource(int _x, int _y, int _z, float _r, float _g, float _b, int _radius, int _life) IsoLightSource(int _x, int _y, int _z, float _r, float _g, float _b, int _radius, IsoBuilding building) -
Method Summary
Modifier and TypeMethodDescriptionvoidfloatgetB()floatgetG()floatgetR()intintgetX()intgetY()intgetZ()booleanisActive()booleanbooleanbooleanisInBounds(int minX, int minY, int maxX, int maxY) voidsetActive(boolean _bActive) voidsetB(float _b) voidsetG(float _g) voidsetR(float _r) voidsetRadius(int _radius) voidsetSwitches(ArrayList<IsoLightSwitch> _switches) voidsetWasActive(boolean _bWasActive) voidsetX(int _x) voidsetY(int _y) voidsetZ(int _z) voidupdate()Deprecated.boolean
-
Field Details
-
NextID
public static int NextID -
ID
public int ID -
x
public int x -
y
public int y -
z
public int z -
r
public float r -
g
public float g -
b
public float b -
rJNI
public float rJNI -
gJNI
public float gJNI -
bJNI
public float bJNI -
radius
public int radius -
bActive
public boolean bActive -
bWasActive
public boolean bWasActive -
bActiveJNI
public boolean bActiveJNI -
life
public int life -
startlife
public int startlife -
localToBuilding
-
bHydroPowered
public boolean bHydroPowered -
switches
-
chunk
-
lightMap
-
-
Constructor Details
-
IsoLightSource
public IsoLightSource(int _x, int _y, int _z, float _r, float _g, float _b, int _radius) -
IsoLightSource
public IsoLightSource(int _x, int _y, int _z, float _r, float _g, float _b, int _radius, IsoBuilding building) -
IsoLightSource
public IsoLightSource(int _x, int _y, int _z, float _r, float _g, float _b, int _radius, int _life)
-
-
Method Details
-
update
Deprecated. -
getX
public int getX()- Returns:
- the x
-
setX
public void setX(int _x) - Parameters:
_x- the x to set
-
getY
public int getY()- Returns:
- the y
-
setY
public void setY(int _y) - Parameters:
_y- the y to set
-
getZ
public int getZ()- Returns:
- the z
-
setZ
public void setZ(int _z) - Parameters:
_z- the z to set
-
getR
public float getR()- Returns:
- the r
-
setR
public void setR(float _r) - Parameters:
_r- the r to set
-
getG
public float getG()- Returns:
- the g
-
setG
public void setG(float _g) - Parameters:
_g- the g to set
-
getB
public float getB()- Returns:
- the b
-
setB
public void setB(float _b) - Parameters:
_b- the b to set
-
getRadius
public int getRadius()- Returns:
- the radius
-
setRadius
public void setRadius(int _radius) - Parameters:
_radius- the radius to set
-
isActive
public boolean isActive()- Returns:
- the bActive
-
setActive
public void setActive(boolean _bActive) - Parameters:
_bActive- the bActive to set
-
wasActive
public boolean wasActive()- Returns:
- the bWasActive
-
setWasActive
public void setWasActive(boolean _bWasActive) - Parameters:
_bWasActive- the bWasActive to set
-
getSwitches
- Returns:
- the switches
-
setSwitches
- Parameters:
_switches- the switches to set
-
clearInfluence
public void clearInfluence() -
isInBounds
public boolean isInBounds(int minX, int minY, int maxX, int maxY) -
isInBounds
public boolean isInBounds() -
isHydroPowered
public boolean isHydroPowered() -
getLocalToBuilding
-