use of games.strategy.engine.framework.network.ui.MutePlayerAction in project triplea by triplea-game.
the class ServerSetupPanel method getUserActions.
@Override
public List<Action> getUserActions() {
final List<Action> actions = new ArrayList<>();
actions.add(new BootPlayerAction(this, model.getMessenger()));
actions.add(new BanPlayerAction(this, model.getMessenger()));
actions.add(new MutePlayerAction(this, model.getMessenger()));
actions.add(new SetPasswordAction(this, lobbyWatcher, (ClientLoginValidator) model.getMessenger().getLoginValidator()));
if (lobbyWatcher != null && lobbyWatcher.isActive()) {
actions.add(new EditGameCommentAction(lobbyWatcher, ServerSetupPanel.this));
actions.add(new RemoveGameFromLobbyAction(lobbyWatcher));
}
return actions;
}
Aggregations