zombie.iso
Class IsoLightSource
java.lang.Object
zombie.iso.IsoLightSource
public class IsoLightSource
- extends java.lang.Object
- Author:
- LEMMY
Constructor Summary |
IsoLightSource(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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public int x
y
public int y
z
public int z
r
public float r
g
public float g
b
public float b
radius
public int radius
bActive
public boolean bActive
bWasActive
public boolean bWasActive
life
public int life
startlife
public int startlife
switches
public java.util.ArrayList<IsoLightSwitch> switches
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,
int life)
update
public void update()
resetTiles
public void resetTiles()
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
public java.util.ArrayList<IsoLightSwitch> getSwitches()
- Returns:
- the switches
setSwitches
public void setSwitches(java.util.ArrayList<IsoLightSwitch> switches)
- Parameters:
switches
- the switches to set
clearInfluence
public void clearInfluence()