Class ObjectCube<T>

java.lang.Object
zombie.core.utils.ObjectCube<T>
All Implemented Interfaces:
Cloneable

public class ObjectCube<T> extends Object implements Cloneable
  • Constructor Details

    • ObjectCube

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

    • clone

      public ObjectCube<T> clone() throws CloneNotSupportedException
      Throws:
      CloneNotSupportedException
    • clear

      public void clear()
    • fill

      public void fill(T newValue)
    • getValue

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

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

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

      public final int getHeight()
      Returns:
      the height
    • getDepth

      public int getDepth()
      Returns:
      the depth