Add:No Optional Card

This commit is contained in:
rubenpirreram
2026-05-01 16:34:54 +02:00
parent 7f60ec56be
commit 505820d343
14 changed files with 67 additions and 44 deletions
@@ -104,6 +104,16 @@ public class ClientController {
client.doEvent(new PickOptionalBuildingCard(playerUsername,pos));
}
/**
* Refuse to pick an optional building card for the specified player.
* @param playerUsername the username of the player performing the action.
* @return {@code true} if the action succeeds, {@code false} if the player does not exist
* or if the pick operation fails.
*/
public void noOptionalCard(String playerUsername) {
client.doEvent(new NoOptionalCard(playerUsername));
}
/**
* Attempts to perform the slot choice action for the specified player at the specified position.
*