Package zombie.iso
Class IsoLightSource
java.lang.Object
zombie.iso.IsoLightSource
public class IsoLightSource
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
b
boolean
bActive
boolean
bActiveJNI
boolean
bHydroPowered
float
bJNI
boolean
bWasActive
IsoChunk
chunk
float
g
float
gJNI
int
ID
int
life
java.lang.Object
lightMap
IsoBuilding
localToBuilding
static int
NextID
float
r
int
radius
float
rJNI
int
startlife
java.util.ArrayList
switches
int
x
int
y
int
z
-
Constructor Summary
Constructors Constructor Description IsoLightSource(int int1, int int2, int int3, float float1, float float2, float float3, int int4)
IsoLightSource(int int1, int int2, int int3, float float1, float float2, float float3, int int4, int int5)
IsoLightSource(int int1, int int2, int int3, float float1, float float2, float float3, int int4, IsoBuilding building)
-
Method Summary
Modifier and Type Method Description void
clearInfluence()
float
getB()
float
getG()
float
getR()
int
getRadius()
java.util.ArrayList
getSwitches()
int
getX()
int
getY()
int
getZ()
boolean
isActive()
boolean
isInBounds()
boolean
isInBounds(int int1, int int2, int int3, int int4)
void
resetTiles()
void
setActive(boolean boolean1)
void
setB(float float1)
void
setG(float float1)
void
setR(float float1)
void
setRadius(int int1)
void
setSwitches(java.util.ArrayList arrayList)
void
setWasActive(boolean boolean1)
void
setX(int int1)
void
setY(int int1)
void
setZ(int int1)
void
update()
boolean
wasActive()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
public java.util.ArrayList switches -
chunk
-
lightMap
public java.lang.Object lightMap
-
-
Constructor Details
-
IsoLightSource
public IsoLightSource(int int1, int int2, int int3, float float1, float float2, float float3, int int4) -
IsoLightSource
public IsoLightSource(int int1, int int2, int int3, float float1, float float2, float float3, int int4, IsoBuilding building) -
IsoLightSource
public IsoLightSource(int int1, int int2, int int3, float float1, float float2, float float3, int int4, int int5)
-
-
Method Details
-
update
public void update() -
resetTiles
public void resetTiles() -
getX
public int getX() -
setX
public void setX(int int1) -
getY
public int getY() -
setY
public void setY(int int1) -
getZ
public int getZ() -
setZ
public void setZ(int int1) -
getR
public float getR() -
setR
public void setR(float float1) -
getG
public float getG() -
setG
public void setG(float float1) -
getB
public float getB() -
setB
public void setB(float float1) -
getRadius
public int getRadius() -
setRadius
public void setRadius(int int1) -
isActive
public boolean isActive() -
setActive
public void setActive(boolean boolean1) -
wasActive
public boolean wasActive() -
setWasActive
public void setWasActive(boolean boolean1) -
getSwitches
public java.util.ArrayList getSwitches() -
setSwitches
public void setSwitches(java.util.ArrayList arrayList) -
clearInfluence
public void clearInfluence() -
isInBounds
public boolean isInBounds(int int1, int int2, int int3, int int4) -
isInBounds
public boolean isInBounds()
-