Class IntGrid

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

public class IntGrid extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • IntGrid

      public IntGrid(int _width, int _height)
      C'tor
  • Method Details

    • clone

      public IntGrid clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • clear

      public void clear()
    • fill

      public void fill(int newValue)
    • getValue

      public int getValue(int x, int y)
    • setValue

      public void setValue(int x, int y, int newValue)
    • getWidth

      public final int getWidth()
      Returns:
      the width
    • getHeight

      public final int getHeight()
      Returns:
      the height