Open GoogleCodeExporter opened 9 years ago
Original comment by DanichBl...@gmail.com
on 15 May 2012 at 10:43
Первая версия появилась в r64.
Также смотри комментарий
http://code.google.com/p/words-battle/issues/detail?id=13#c5
Добавлены файлы WBClient и IWBClientDelegate.
WBClient общается с сервером и вызывает методы
на делегате который реализует методы
интерфейса IWBClientDelegate.
Original comment by DanichBl...@gmail.com
on 4 Jun 2012 at 8:35
Original comment by DanichBl...@gmail.com
on 4 Jun 2012 at 8:41
Сделал коммит r71:
Client:
* WBClient: added pickLetter(Letter) method. Added GAME_STARTED messageType
recognition. Updated UPDATE recognition.
* IWBClientDelegate: removed method newPool(), added update(). See Javadoc
Original comment by DanichBl...@gmail.com
on 6 Jun 2012 at 12:21
Сделал коммит r81:
Client:
M AndroidManifest.xml:
* FIXED: app was not allowed to connect to the network. That's why it failed. So I add permission
* Added debuggable property to app so could be debugged with a real android device.
M WordSprite.java:
* Now the word is stored as a common.domain.Word not just char[]. Fixed code appropriately.
M LetterSprite.java:
* Now letter is stored as class common.domain.Letter, not just char.
So all code fixed appropriately. Also see WordSprite.java changes.
* Now saying client that the letter is picked when user touches the letter.
M IWBClientDelegate.java:
* FIXED: wrong method declaration. Was missing registeredName
M WordsBattleActivity.java
* Added public static fields: host, port, WBClient client, testingOpponentName
* Now all IWBClientDelegate methods implement WordsBattleActivity class, not GameController.
I think it's more convenient.
* The problem with connection was caused by wrong AndroidManifest.xml. See it's changes.
* Added udateGrid method. See javadoc.
M GameController.java: I think we don't need it anymore. Now
WordsBattleActivity changes
M FieldFiller.java:
* fixed accordingly to changes in LetterSprite class.
Original comment by DanichBl...@gmail.com
on 16 Jun 2012 at 10:14
Коммитом r81 решил проблему с подключением
android к серверу. Смотри AndroidManifest.xml.
Original comment by DanichBl...@gmail.com
on 16 Jun 2012 at 10:19
Original issue reported on code.google.com by
acbel...@gmail.com
on 15 May 2012 at 10:42