userheadingevent.java
来自「用JAVA做的聊天软件,有安装程序和源代码.」· Java 代码 · 共 30 行
JAVA
30 行
package at.ac.uni_linz.tk.vchat;
import java.io.*;
/**
* Represents a changement of a User's heading.
*
* @author Arno Huetter
* (C)opyright by the Institute for Computer Science, Telecooperation Department, University of Linz
*/
public class UserHeadingEvent extends UserEvent implements Serializable {
public int userHeading;
/**
* Constructs the UserHeadingEvent.
*
* @param idParam the id of the User producing the Event
* @param headingParam the new heading
*/
public UserHeadingEvent (int idParam, int headingParam) {
super(idParam);
userHeading = headingParam;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?