matchesScreen method

bool matchesScreen(
  1. AFID screen
)

Implementation

bool matchesScreen(AFID screen) {
  if(screen == this.screen) {
    return true;
  }

  // this is used in testing, where the prototype screen
  // stands in for other screens.
  if(param.matchesScreen(screen)) {
    return true;
  }

  return false;
}