Initial Event Bus implementation & Event-based multiplayer updates (#6826)

* Add EventBus

* Refactor: Extract multiplayer logic into their own classes & make updates event-based instead of throwaway+rebuild
This commit is contained in:
Timo T
2022-05-22 00:05:33 +02:00
committed by GitHub
parent 91ffa2e185
commit 244f9477df
18 changed files with 970 additions and 421 deletions

View File

@ -561,7 +561,7 @@ Add multiplayer game =
Refresh list =
Could not save game! =
Could not delete game! =
Could not refresh! =
Error while refreshing: =
Last refresh: [time] minutes ago =
Current Turn: =
Add Currently Running Game =
@ -580,6 +580,8 @@ Minutes =
Hours =
Days =
Server limit reached! Please wait for [time] seconds =
File could not be found on the multiplayer server =
Unhandled problem, [errorMessage] =
# Save game menu

View File

@ -65,6 +65,8 @@ android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
isCoreLibraryDesugaringEnabled = true
}
androidResources {
// Don't add local save files and fonts to release, obviously
@ -128,4 +130,5 @@ dependencies {
// Known Android Lint warning: "GradleDependency"
implementation("androidx.core:core-ktx:1.6.0")
implementation("androidx.work:work-runtime-ktx:2.6.0")
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
}