mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
improved replays - can now skip forward 10 moves or let the client play through the moves
This commit is contained in:
parent
6d4c3aa8d9
commit
f5c3494723
12 changed files with 142 additions and 20 deletions
|
|
@ -113,6 +113,7 @@ public interface MageServer {
|
|||
public void stopReplay(UUID gameId, String sessionId) throws MageException;
|
||||
public void nextPlay(UUID gameId, String sessionId) throws MageException;
|
||||
public void previousPlay(UUID gameId, String sessionId) throws MageException;
|
||||
public void skipForward(UUID gameId, String sessionId, int moves) throws MageException;
|
||||
|
||||
//test methods
|
||||
public void cheat(UUID gameId, String sessionId, UUID playerId, DeckCardLists deckList) throws MageException;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue