forked from External/mage
Added some new sound files (PlayerLost, PlayerWon, PlayerSubmittedDeck, PlayerLeft).
This commit is contained in:
parent
2b916a5dfb
commit
182839d41a
12 changed files with 73 additions and 22 deletions
|
|
@ -32,6 +32,7 @@ import mage.view.ChatMessage.MessageColor;
|
|||
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import mage.view.ChatMessage.SoundToPlay;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -75,6 +76,10 @@ public class ChatManager {
|
|||
chatSessions.get(chatId).broadcast(userName, message, color, withTime);
|
||||
}
|
||||
|
||||
public void broadcast(UUID chatId, String userName, String message, MessageColor color, boolean withTime, SoundToPlay soundToPlay) {
|
||||
chatSessions.get(chatId).broadcast(userName, message, color, withTime, soundToPlay);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* use mainly for announcing that a user connection was lost or that a user has reconnected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue