?? face.java
字號(hào):
// Face: face with draw, moveRight, and act functionality
import java.awt.*;
public class Face extends Shape
{
private int size;
public Face( int x, int y, int s )
{
super( x, y );
size = s;
}
public void act()
{
size += 2;
}
public void draw( Graphics g )
{
g.drawOval( xpos, ypos, size, size );
g.drawLine( xpos + 5, ypos + size - 5, xpos + size - 5, ypos + size - 5 );
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -