* Draft - Added "Quit Tournament" button to draft panel. Minor formatting.

This commit is contained in:
LevelX2 2014-02-28 17:47:27 +01:00
parent 024ec1169a
commit 8d2f4cc9ac
26 changed files with 340 additions and 157 deletions

View file

@ -1000,6 +1000,7 @@ public class SessionImpl implements Session {
}
return false;
}
@Override
public boolean quitTournament(UUID tournamentId) {
try {
@ -1015,6 +1016,19 @@ public class SessionImpl implements Session {
return false;
}
@Override
public boolean quitDraft(UUID draftId) {
try {
if (isConnected()) {
server.quitDraft(draftId, sessionId);
return true;
}
} catch (MageException ex) {
handleMageException(ex);
}
return false;
}
@Override
public boolean undo(UUID gameId) {
try {