diff --git a/ashley/src/com/badlogic/ashley/core/Family.java b/ashley/src/com/badlogic/ashley/core/Family.java index 4bbd417c..8bc62acd 100644 --- a/ashley/src/com/badlogic/ashley/core/Family.java +++ b/ashley/src/com/badlogic/ashley/core/Family.java @@ -76,7 +76,7 @@ public boolean matches (Entity entity) { * @return A Builder singleton instance to get a family */ @SafeVarargs - public static Builder all (Class... componentTypes) { + public static final Builder all (Class... componentTypes) { return builder.reset().all(componentTypes); } @@ -85,7 +85,7 @@ public static Builder all (Class... componentTypes) { * @return A Builder singleton instance to get a family */ @SafeVarargs - public static Builder one (Class... componentTypes) { + public static final Builder one (Class... componentTypes) { return builder.reset().one(componentTypes); } @@ -94,7 +94,7 @@ public static Builder one (Class... componentTypes) { * @return A Builder singleton instance to get a family */ @SafeVarargs - public static Builder exclude (Class... componentTypes) { + public static final Builder exclude (Class... componentTypes) { return builder.reset().exclude(componentTypes); }