From e2be43e39c1634c3ef0c64fcb8f84f2e3e0ad3b1 Mon Sep 17 00:00:00 2001 From: dfumosa Date: Wed, 8 Apr 2015 18:17:50 -0400 Subject: [PATCH] Made static members final so it's compatible with GWT. --- ashley/src/com/badlogic/ashley/core/Family.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }