⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userroomevent.java

📁 一个非常好的JAVA版聊天软件源码. 一个非常好的JAVA版聊天软件源码.
💻 JAVA
字号:
package at.ac.uni_linz.tk.vchat;

import java.io.*;
import java.awt.*;


/**
 * Represents a changement of the Room a User is currently in.
 *
 * @author      Arno Huetter
 * (C)opyright by the Institute for Computer Science, Telecooperation Department, University of Linz
 */

public class UserRoomEvent extends UserEvent implements Serializable {

  public int roomId;
  public Point position;


/**
 * Constructs the UserRoomEvent.
 *
 * @param userIdParam      the Id of the User producing the Event
 * @param roomIdParam      the Id of the new Room
 */

  public UserRoomEvent (int userIdParam, int roomIdParam, Point positionParam) {
    super(userIdParam);
    roomId = roomIdParam;
    position = positionParam;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -