zombie.iso
Class IsoLightSource

java.lang.Object
  extended by zombie.iso.IsoLightSource

public class IsoLightSource
extends java.lang.Object

Author:
LEMMY

Field Summary
 float b
           
 boolean bActive
           
 boolean bWasActive
           
 float g
           
 int life
           
 float r
           
 int radius
           
 int startlife
           
 java.util.ArrayList<IsoLightSwitch> switches
           
 int x
           
 int y
           
 int z
           
 
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)
           
 
Method Summary
 void clearInfluence()
           
 float getB()
           
 float getG()
           
 float getR()
           
 int getRadius()
           
 java.util.ArrayList<IsoLightSwitch> getSwitches()
           
 int getX()
           
 int getY()
           
 int getZ()
           
 boolean isActive()
           
 void resetTiles()
           
 void setActive(boolean bActive)
           
 void setB(float b)
           
 void setG(float g)
           
 void setR(float r)
           
 void setRadius(int radius)
           
 void setSwitches(java.util.ArrayList<IsoLightSwitch> switches)
           
 void setWasActive(boolean bWasActive)
           
 void setX(int x)
           
 void setY(int y)
           
 void setZ(int z)
           
 void update()
           
 boolean wasActive()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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()