Some notes on recent commits
1.
Consider renaming to "isConrolledByAnyOf"* - that is we're looking for cards controlled by any player on list passed as parameter.
__
* or something else meaningful that would help to read code invoking this method as a natural language sentence
2.
I am very upset with checkstyle applied to gametype.java file. It has ruined the table-like declaration of the game formats. I shall rollback that.
2a.
same about magiccolor.java.
- Code: Select all
public static final Predicate<Card> hasListController(final List<Player> pList) {
Consider renaming to "isConrolledByAnyOf"* - that is we're looking for cards controlled by any player on list passed as parameter.
__
* or something else meaningful that would help to read code invoking this method as a natural language sentence
2.
I am very upset with checkstyle applied to gametype.java file. It has ruined the table-like declaration of the game formats. I shall rollback that.
2a.
same about magiccolor.java.