Class BooleanGrid

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

public class BooleanGrid
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    BooleanGrid​(int width, int height)  
  • Method Summary

    Modifier and Type Method Description
    void clear()  
    BooleanGrid clone()  
    void copy​(BooleanGrid src)  
    void fill()  
    int getHeight()  
    boolean getValue​(int x, int y)  
    int getWidth()  
    void LoadFromByteBuffer​(java.nio.ByteBuffer cache)  
    void PutToByteBuffer​(java.nio.ByteBuffer cache)  
    void setValue​(int x, int y, boolean newValue)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BooleanGrid

      public BooleanGrid​(int width, int height)
  • Method Details

    • clone

      public BooleanGrid clone() throws java.lang.CloneNotSupportedException
      Overrides:
      clone in class java.lang.Object
      Throws:
      java.lang.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()
    • getHeight

      public final int getHeight()
    • toString

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

      public void LoadFromByteBuffer​(java.nio.ByteBuffer cache)
    • PutToByteBuffer

      public void PutToByteBuffer​(java.nio.ByteBuffer cache)