Returns true if the kit is visible @param aPC if the kit visibility depends on the PC, this is the PC that will be used to check the prerequisites. @return Whether the kit is visible
(PlayerCharacter aPC, View v)
| 232 | * @return Whether the kit is visible |
| 233 | */ |
| 234 | public boolean isVisible(PlayerCharacter aPC, View v) |
| 235 | { |
| 236 | Visibility kitVisible = getSafe(ObjectKey.VISIBILITY); |
| 237 | if (kitVisible == Visibility.QUALIFY) |
| 238 | { |
| 239 | return qualifies(aPC, this); |
| 240 | } |
| 241 | else |
| 242 | { |
| 243 | return kitVisible.isVisibleTo(v); |
| 244 | } |
| 245 | |
| 246 | } |
| 247 | |
| 248 | /** |
| 249 | * Test applying the top level kit and record the choices made and any |
nothing calls this directly
no test coverage detected