Skip to content

Commit

Permalink
bump 0.14.0-alpha.16
Browse files Browse the repository at this point in the history
removed stupid onJoin callbacks
  • Loading branch information
doorbash committed Oct 18, 2020
1 parent 8b06fd5 commit 457a53e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ onError = { code, message ->
println("onError $code $message")
}

onJoin = { println("onJoin") }

onStateChange = { state, isFirstState ->
println("OnStateChange")
println(isFirstState)
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/io/colyseus/example/java/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ public static void main(String... args) {
room.send("fire", "in the hole!");
});

room.setOnJoin(() -> {
System.out.println("onJoin()");
});

room.setOnLeave(code -> {
System.out.println("onLeave(" + code + ")");
});
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/colyseus/example/kotlin/Main1.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ fun main() = runBlocking {
println(code)
println(message)
}
onJoin = { println("onJoin") }

onStateChange = { state, isFirstState ->
println("OnStateChange")
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/colyseus/example/kotlin/Main2.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ fun main() {
println(code)
println(message)
}
onJoin = { println("onJoin") }

// onStateChange = { state, isFirstState ->
// println("OnStateChange")
Expand Down

0 comments on commit 457a53e

Please sign in to comment.