sideMask

abstract fun sideMask(side: Direction): Int

For drawBox.


fun sideMask(sides: Iterable<Direction>): Int