setBlockValue method

void setBlockValue(
  1. Block pos,
  2. int block
)

Sets the block value into the matrix.

Implementation

void setBlockValue(Block pos, int block) {
  matrix[pos.y][pos.x] = block;
}