📄 otoken.java
字号:
import java.awt.*;import java.awt.event.*;/** * Realizes the superclass Token, and crates the O-Token used in games. */
class OToken extends Token { /** * Paints the token based on the graphical environment given as a parameter * and the size given as dimention */
public void paint(Graphics g, Dimension d) { g.drawOval((int)(.1 * d.width), (int)(.1 * d.height), (int)(d.width * .8), (int)(d.height * .8)); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -