- Dev Mode: added a new function "Remove Card from Game", which allows to completely remove a card from the game in case it was added previously by mistake.

This commit is contained in:
Agetian
2017-08-21 16:09:20 +00:00
parent 96f97e41e1
commit 46ecbc9c42
6 changed files with 73 additions and 3 deletions

View File

@@ -110,6 +110,17 @@ public class VDevMenu extends FDropDownMenu {
});
}
}));
addItem(new FMenuItem("Remove Card from Game", new FEventHandler() {
@Override
public void handleEvent(FEvent e) {
ThreadUtil.invokeInGameThread(new Runnable() {
@Override
public void run() {
MatchController.instance.getGameController().cheat().removeCardsFromGame();
}
});
}
}));
addItem(new FMenuItem("Set Player Life", new FEventHandler() {
@Override
public void handleEvent(FEvent e) {