📄 userpositionevent.java
字号:
package at.ac.uni_linz.tk.vchat;
import java.io.*;
import java.awt.*;
/**
* Represents a changement of a User's position.
*
* @author Arno Huetter
* (C)opyright by the Institute for Computer Science, Telecooperation Department, University of Linz
*/
public class UserPositionEvent extends UserEvent implements Serializable {
public Point userPosition;
/**
* Constructs the UserPositionEvent.
*
* @param idParam the id of the User producing the Event
* @param positionParam the new position
*/
public UserPositionEvent (int idParam, Point positionParam) {
super(idParam);
userPosition = new Point(positionParam);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -