getAttributes method

int getAttributes(
  1. int x,
  2. int y
)

u32 attribute word at cell (x, y).

Implementation

int getAttributes(int x, int y) {
  final index = _getIndex(x, y);
  return _attributes[index];
}