📄 cubeaction.java
字号:
/*
* Java Virtual Cube
* -----------------
*
* Copyright 1996, Song Li
* URL: http://www.cs.umbc.edu/~sli2
*
*
* You can use the code for any nonprofittable use. But remember to mention
* the authors' names in your revised program. You are also encouraged to
* improve the program or give your comments and bug reports. If there are
* further questions, please contact me and I'll be glad to help. My E-Mail
* address is: sli2@gl.umbc.edu.
*
*/
class CubeAction {
private int Axis ;
private int Plane ;
private boolean Dir ;
CubeAction (int axis, int plane, boolean dir) {
Axis = axis ;
Plane = plane ;
Dir = dir ;
}
int GetAxis () {return Axis ;}
int GetPlane () {return Plane ;}
boolean GetDir () {return Dir ;}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -