Class IntHyperCube2

java.lang.Object
zombie.core.utils.IntHyperCube2

public class IntHyperCube2 extends Object
  • Constructor Details

    • IntHyperCube2

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

    • clear

      public void clear()
    • fill

      public void fill(int newValue)
    • getValue

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

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

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

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

      public final int getDepth()
      Returns:
      the depth
    • getQuanta

      public final int getQuanta()
      Returns:
      the "quanta" (4th dimension)