Package zombie.iso
Class LosUtil
java.lang.Object
zombie.iso.LosUtil
public class LosUtil
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LosUtil.TestResults
-
Field Summary
Fields Modifier and Type Field Description static boolean[]
cachecleared
static byte[][][][]
cachedresults
static int
XSIZE
static int
YSIZE
static int
ZSIZE
-
Constructor Summary
Constructors Constructor Description LosUtil()
-
Method Summary
Modifier and Type Method Description static void
init(int width, int height)
static LosUtil.TestResults
lineClear(IsoCell cell, int x0, int y0, int z0, int x1, int y1, int z1, boolean bIgnoreDoors)
static LosUtil.TestResults
lineClear(IsoCell cell, int x0, int y0, int z0, int x1, int y1, int z1, boolean bIgnoreDoors, int RangeTillWindows)
static LosUtil.TestResults
lineClearCached(IsoCell cell, int x1, int y1, int z1, int x0, int y0, int z0, boolean bIgnoreDoors, int playerIndex)
static boolean
lineClearCollide(int x1, int y1, int z1, int x0, int y0, int z0, boolean bIgnoreDoors)
static int
lineClearCollideCount(IsoGameCharacter chr, IsoCell cell, int x1, int y1, int z1, int x0, int y0, int z0)
static int
lineClearCollideCount(IsoMovingObject chr, IsoCell cell, int x1, int y1, int z1, int x0, int y0, int z0, int returnMin)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
XSIZE
public static int XSIZE -
YSIZE
public static int YSIZE -
ZSIZE
public static int ZSIZE -
cachedresults
public static byte[][][][] cachedresults -
cachecleared
public static boolean[] cachecleared
-
-
Constructor Details
-
LosUtil
public LosUtil()
-
-
Method Details
-
init
public static void init(int width, int height) -
lineClear
public static LosUtil.TestResults lineClear(IsoCell cell, int x0, int y0, int z0, int x1, int y1, int z1, boolean bIgnoreDoors) -
lineClear
public static LosUtil.TestResults lineClear(IsoCell cell, int x0, int y0, int z0, int x1, int y1, int z1, boolean bIgnoreDoors, int RangeTillWindows) -
lineClearCollide
public static boolean lineClearCollide(int x1, int y1, int z1, int x0, int y0, int z0, boolean bIgnoreDoors) -
lineClearCollideCount
public static int lineClearCollideCount(IsoGameCharacter chr, IsoCell cell, int x1, int y1, int z1, int x0, int y0, int z0) -
lineClearCollideCount
public static int lineClearCollideCount(IsoMovingObject chr, IsoCell cell, int x1, int y1, int z1, int x0, int y0, int z0, int returnMin) -
lineClearCached
public static LosUtil.TestResults lineClearCached(IsoCell cell, int x1, int y1, int z1, int x0, int y0, int z0, boolean bIgnoreDoors, int playerIndex)
-