Commits

Greg Taylor committed 31a1210

Subscribe to state change topic.

  • Participants
  • Parent commits 716914f

Comments (0)

Files changed (1)

File lib/src/netcomm/netcomm.dart

     subscribe('http://hexmap.com/unit/events/stale-removal');
     subscribe('http://hexmap.com/unit/events/hit-landed');
     subscribe('http://hexmap.com/unit/events/shot-missed');
+    subscribe('http://hexmap.com/unit/events/state-changed');
 
     call("http://hexmap.com/unit-store#get", [])
       .then((response) => print("Response: ${response}"));