initial drafting stuff

This commit is contained in:
BetaSteward 2011-01-03 23:52:28 -05:00
parent 5679c2de15
commit 7bea472fff
13 changed files with 469 additions and 3 deletions

View file

@ -231,6 +231,23 @@ public class ServerImpl extends RemoteServer implements Server {
}
}
@Override
public void startDraft(final UUID sessionId, final UUID roomId, final UUID draftId) throws MageException {
try {
rmiExecutor.execute(
new Runnable() {
@Override
public void run() {
// TableManager.getInstance().startMatch(sessionId, roomId, tableId);
}
}
);
}
catch (Exception ex) {
handleException(ex);
}
}
@Override
public void sendChatMessage(final UUID chatId, final String userName, final String message) throws MageException {
try {
@ -456,6 +473,23 @@ public class ServerImpl extends RemoteServer implements Server {
}
}
@Override
public void sendCardPick(final UUID gameId, final UUID sessionId, final UUID cardPick) throws MageException {
try {
rmiExecutor.execute(
new Runnable() {
@Override
public void run() {
// GameManager.getInstance().sendPlayerUUID(gameId, sessionId, data);
}
}
);
}
catch (Exception ex) {
handleException(ex);
}
}
@Override
public void concedeGame(final UUID gameId, final UUID sessionId) throws MageException {
try {