Provide a method for calling playerReady.

The GameManager is set up to handle it, so let's not fuss too much about the
fact that we're using a dynamically typed mechanism to send a message from
client to server.
This commit is contained in:
Michael Bayne
2025-02-03 13:46:00 -08:00
parent 074ef440b8
commit 8bbdabe5d6
@@ -238,6 +238,11 @@ public class GameObject extends PlaceObject
return -1;
}
@SuppressWarnings("deprecation")
public void sendPlayerReady () {
manager.invoke("playerReady");
}
/**
* Used by {@link #isActivePlayer} to determine if the supplied status is associated with an
* active player (one that has not resigned from the game and/or left the game room).