(PlayerCharacter aPC)
| 1271 | } |
| 1272 | |
| 1273 | @Override |
| 1274 | public boolean isActive(PlayerCharacter aPC) |
| 1275 | { |
| 1276 | List<InfoBoolean> requirements = getListFor(ListKey.ENABLE); |
| 1277 | if ((requirements == null) || requirements.isEmpty()) |
| 1278 | { |
| 1279 | return true; |
| 1280 | } |
| 1281 | for (InfoBoolean info : requirements) |
| 1282 | { |
| 1283 | if (!aPC.solve(info.getFormula())) |
| 1284 | { |
| 1285 | return false; |
| 1286 | } |
| 1287 | } |
| 1288 | return true; |
| 1289 | } |
| 1290 | |
| 1291 | /* |
| 1292 | * Begin implementation of methods for VarHolder interface |
nothing calls this directly
no test coverage detected