Class BooleanGrid

java.lang.Object
zombie.core.utils.BooleanGrid
All Implemented Interfaces:
Serializable, Cloneable

public class BooleanGrid extends Object implements Serializable, Cloneable
Boolean grid
See Also:
  • Constructor Details

    • BooleanGrid

      public BooleanGrid(int width, int height)
      C'tor
      Parameters:
      width -
      height -
  • Method Details

    • clone

      public BooleanGrid clone() throws CloneNotSupportedException
      Throws:
      CloneNotSupportedException
    • copy

      public void copy(BooleanGrid src)
    • 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

      public String toString()
      Overrides:
      toString in class Object
    • LoadFromByteBuffer

      public void LoadFromByteBuffer(ByteBuffer cache)
    • PutToByteBuffer

      public void PutToByteBuffer(ByteBuffer cache)