Class BooleanGrid
java.lang.Object
zombie.core.utils.BooleanGrid
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clone()voidcopy(BooleanGrid src) voidfill()final intbooleangetValue(int x, int y) final intgetWidth()voidLoadFromByteBuffer(ByteBuffer cache) voidPutToByteBuffer(ByteBuffer cache) voidsetValue(int x, int y, boolean newValue) toString()
-
Constructor Details
-
BooleanGrid
public BooleanGrid(int _width, int _height) C'tor
-
-
Method Details
-
clone
- Throws:
CloneNotSupportedException
-
copy
-
clear
public void clear() -
fill
public void fill() -
getValue
public boolean getValue(int x, int y) -
setValue
public void setValue(int x, int y, boolean newValue) -
getWidth
public final int getWidth()- Returns:
- the width
-
getHeight
public final int getHeight()- Returns:
- the height
-
toString
-
LoadFromByteBuffer
-
PutToByteBuffer
-