新增画笔粗细、橡皮粗细、画笔颜色调节、清空画布功能,可能存在逻辑上的不合理,后续再完善细节
This commit is contained in:
@@ -86,7 +86,7 @@ public class Room {
|
||||
* @param playerId 发送者的ID(用于排除发送者)
|
||||
*/
|
||||
public void sendMessage(String type, String playerId, String message) {
|
||||
if (type.equals(Global.MSG_TYPE_ROOM_DRAW)) {
|
||||
if (type.startsWith(Global.MSG_TYPE_ROOM_DRAW)) {
|
||||
log.info("【绘画房间消息】{}: {}", id, message);
|
||||
for (Player player : players) {
|
||||
// 向除自己之外的玩家发送消息
|
||||
|
||||
Reference in New Issue
Block a user