]> hydra-www.ietfng.org Git - acmetensortoys-ctfws-android/commit
Overhaul internal architecutre
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 13 Feb 2017 02:20:14 +0000 (21:20 -0500)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 13 Feb 2017 02:20:14 +0000 (21:20 -0500)
commitedb1e334309d24aa714ec81542fea7c29cf4f5ff
treee33f1818da0eef501a79607fceae12d059cd00a1
parent900b3b8dd282558610db33eb61fc39eee7177a95
Overhaul internal architecutre

GameState objects now have Observers and are not passive objects; they
also encapsulate their own parsers.  The display logic is now an Observer
of the GameState and everything's just a little less janky.

The stage has been set for Wear integration, too, but that's not
happening any time soon.
lib/src/main/java/com/acmetensortoys/ctfwstimer/lib/CtFwSGameState.java
lib/src/main/java/com/acmetensortoys/ctfwstimer/lib/CtFwSMessageFilter.java [deleted file]
mobile/build.gradle
mobile/proguard-rules.pro
mobile/src/main/java/com/acmetensortoys/ctfwstimer/CtFwSCallbacksMQTT.java
mobile/src/main/java/com/acmetensortoys/ctfwstimer/CtFwSDisplayLocal.java [moved from mobile/src/main/java/com/acmetensortoys/ctfwstimer/CtFwSDisplay.java with 70% similarity]
mobile/src/main/java/com/acmetensortoys/ctfwstimer/MainActivity.java
mobile/src/main/java/com/acmetensortoys/ctfwstimer/MainActivityBuildHooks.java [new file with mode: 0644]
mobile/src/main/res/layout/activity_main.xml
mobile/src/noplay/java/com/acmetensortoys/ctfwstimer/MainActivityBuildHooksImpl.java [new file with mode: 0644]