(List<Aspect> aspects, PlayerCharacter pc, Ability a)
| 392 | } |
| 393 | |
| 394 | public static Aspect lastPassingAspect(List<Aspect> aspects, PlayerCharacter pc, Ability a) |
| 395 | { |
| 396 | Aspect retAspect = null; |
| 397 | if (aspects != null) |
| 398 | { |
| 399 | for (Aspect testAspect : aspects) |
| 400 | { |
| 401 | if (testAspect.qualifies(pc, a)) |
| 402 | { |
| 403 | retAspect = testAspect; |
| 404 | } |
| 405 | } |
| 406 | } |
| 407 | return retAspect; |
| 408 | } |
| 409 | } |
no test coverage detected