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 int1, int int2)  
  • Method Summary

    Modifier and Type Method Description
    void clear()  
    BooleanGrid clone()  
    void copy​(BooleanGrid booleanGrid)  
    void fill()  
    int getHeight()  
    boolean getValue​(int int1, int int2)  
    int getWidth()  
    void LoadFromByteBuffer​(java.nio.ByteBuffer byteBuffer)  
    void PutToByteBuffer​(java.nio.ByteBuffer byteBuffer)  
    void setValue​(int int1, int int2, boolean boolean1)  
    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 int1, int int2)
  • 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 booleanGrid)
    • clear

      public void clear()
    • fill

      public void fill()
    • getValue

      public boolean getValue​(int int1, int int2)
    • setValue

      public void setValue​(int int1, int int2, boolean boolean1)
    • 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 byteBuffer)
    • PutToByteBuffer

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