diff options
3 files changed, 3 insertions, 3 deletions
diff --git a/android/src/ch/asynk/rustanddust/android/AndroidBackend.java b/android/src/ch/asynk/rustanddust/android/AndroidBackend.java index 33cdc4e..796e4e2 100644 --- a/android/src/ch/asynk/rustanddust/android/AndroidBackend.java +++ b/android/src/ch/asynk/rustanddust/android/AndroidBackend.java @@ -24,7 +24,7 @@ public class AndroidBackend implements Backend public int getOpponentId() { return opponent; } @Override - public void init(RustAndDust game) + public void init(final RustAndDust game) { AccountManager aMgr = (AccountManager) app.getSystemService(Context.ACCOUNT_SERVICE); Account[] accounts = aMgr.getAccountsByType("com.google"); diff --git a/core/src/ch/asynk/rustanddust/util/Backend.java b/core/src/ch/asynk/rustanddust/util/Backend.java index 5a10a1a..8942033 100644 --- a/core/src/ch/asynk/rustanddust/util/Backend.java +++ b/core/src/ch/asynk/rustanddust/util/Backend.java @@ -4,7 +4,7 @@ import ch.asynk.rustanddust.RustAndDust; public interface Backend { - public void init(RustAndDust game); + public void init(final RustAndDust game); public int getMyId(); diff --git a/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java b/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java index db7f212..f7d235e 100644 --- a/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java +++ b/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java @@ -15,7 +15,7 @@ public class DesktopBackend implements Backend public int getMyId() { return me; } public int getOpponentId() { return opponent; } - public void init(RustAndDust game) + public void init(final RustAndDust game) { me = game.db.storePlayerGetId("me", "myself"); opponent = me; |