createmodelrequest.java
来自「CroftSoft Code Library是一个开源的可移植的纯Java游戏库」· Java 代码 · 共 65 行
JAVA
65 行
package com.croftsoft.apps.chat.request; import com.croftsoft.core.lang.NullArgumentException; import com.croftsoft.core.security.Authentication; /********************************************************************* * A request to create an avatar. * * @version * 2003-06-20 * @since * 2003-06-06 * @author * <a href="http://www.croftsoft.com/">David Wallace Croft</a> *********************************************************************/ public final class CreateModelRequest extends CoalesceableRequest ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// { private static final long serialVersionUID = 0L; // private final String avatarType; private final double x; private final double y; ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public CreateModelRequest ( Authentication authentication, String avatarType, double x, double y ) ////////////////////////////////////////////////////////////////////// { super ( authentication ); NullArgumentException.check ( this.avatarType = avatarType ); this.x = x; this.y = y; } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public String getAvatarType ( ) { return avatarType; } public double getX ( ) { return x; } public double getY ( ) { return y; } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?