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:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user