Package zombie.iso
Class LightingThread
java.lang.Object
zombie.iso.LightingThread
public class LightingThread
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description booleanbFinishedjava.lang.BooleanbHasLockbooleanbMovedMapstatic booleanDebugLockTimebooleandisablestatic LightingThreadinstancebooleanInterruptedbooleanjniLightingjava.lang.ThreadlightingThreadbooleannewLightingMethodstatic intskipintStagebooleanUpdateDonelongUpdateTime -
Constructor Summary
Constructors Constructor Description LightingThread() -
Method Summary
Modifier and Type Method Description voidcreate()booleanDoLightingUpdate(IsoCell cell, int playerIndex)voidGameLoadingUpdate()voidscrollDown(int playerIndex)voidscrollLeft(int playerIndex)voidscrollRight(int playerIndex)voidscrollUp(int playerIndex)voidstop()voidupdate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
lightingThread
public java.lang.Thread lightingThread -
bFinished
public boolean bFinished -
bMovedMap
public boolean bMovedMap -
skip
public static int skip -
Interrupted
public volatile boolean Interrupted -
DebugLockTime
public static boolean DebugLockTime -
disable
public boolean disable -
UpdateDone
public boolean UpdateDone -
Stage
public int Stage -
UpdateTime
public long UpdateTime -
bHasLock
public volatile java.lang.Boolean bHasLock -
newLightingMethod
public boolean newLightingMethod -
jniLighting
public boolean jniLighting
-
-
Constructor Details
-
LightingThread
public LightingThread()
-
-
Method Details
-
DoLightingUpdate
public boolean DoLightingUpdate(IsoCell cell, int playerIndex) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
stop
public void stop() -
create
public void create() -
GameLoadingUpdate
public void GameLoadingUpdate() -
update
public void update() -
scrollLeft
public void scrollLeft(int playerIndex) -
scrollRight
public void scrollRight(int playerIndex) -
scrollUp
public void scrollUp(int playerIndex) -
scrollDown
public void scrollDown(int playerIndex)
-