Package zombie
Class ZomboidBitFlag
java.lang.Object
zombie.ZomboidBitFlag
public class ZomboidBitFlag
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ZomboidBitFlag(int size)
-
Method Summary
Modifier and Type Method Description void
clear()
void
getFromLong(long l)
boolean
isSet(int off)
boolean
isSet(IsoFlagType flag)
boolean
isSet(IsoObjectType flag)
void
load(java.io.DataInputStream input)
void
Or(ZomboidBitFlag SpriteFlags)
void
save(java.io.DataOutputStream output)
void
set(int off, boolean b)
void
set(IsoFlagType flag, boolean b)
void
set(IsoObjectType flag, boolean b)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
BitFlags
public static java.util.HashMap BitFlags -
flags
protected long[] flags -
size
public int size
-
-
Constructor Details
-
ZomboidBitFlag
public ZomboidBitFlag(int size)
-
-
Method Details
-
set
public void set(int off, boolean b) -
clear
public void clear() -
isSet
public boolean isSet(int off) -
isSet
-
set
-
isSet
-
set
-
Or
-
save
public void save(java.io.DataOutputStream output) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.io.DataInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
getFromLong
public void getFromLong(long l)
-