Added some javadoc text.

This commit is contained in:
LevelX2 2014-07-16 08:28:44 +02:00
parent 7b9eb5516c
commit e717d18b3a

View file

@ -71,6 +71,9 @@ public class Battlefield implements Serializable {
/**
* Returns a count of all {@link Permanent} that match the filter and are controlled by controllerId.
*
* Some filter predicates do not work here (e.g. AnotherPredicate() because filter.match() is called
* without controllerId. To use this predicates you can use count() instead of countAll()
*
* @param filter
* @param controllerId
* @param game