Class BooleanGrid
java.lang.Object
zombie.core.utils.BooleanGrid
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
clone()
void
copy
(BooleanGrid src) void
fill()
final int
boolean
getValue
(int x, int y) final int
getWidth()
void
LoadFromByteBuffer
(ByteBuffer cache) void
PutToByteBuffer
(ByteBuffer cache) void
setValue
(int x, int y, boolean newValue) toString()
-
Constructor Details
-
BooleanGrid
public BooleanGrid(int _width, int _height) C'tor
-
-
Method Details
-
clone
- Overrides:
clone
in classObject
- 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
-