getMirror method

int getMirror()

Implementation

int getMirror() {
  switch (this) {
    case Mirror.noMirror:
      return 0;
    case Mirror.mirror:
      return 1;
  }
}