⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 record.java

📁 java写的俄罗斯方块游戏!是应用程序版而非小程序版
💻 JAVA
字号:
package like.els;

import java.io.Serializable;

public class Record implements Serializable
{
	String name = "none      ";
	int score = 0;
	
	public Record()
	{
		
	}
	public Record(String name,int score)
	{
		if(name.getBytes().length>10)
			this.name = new String(name.getBytes(),0,10);
		else
			this.name = name;
		while(this.name.getBytes().length<10)
			this.name += " ";
		this.score = score;	
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -