visit.java

来自「java的插件」· Java 代码 · 共 21 行

JAVA
21
字号
package com.swtdesigner;

import java.io.Serializable;

public class Visit implements Serializable {
	private HangmanGame oGame = null;
	public HangmanGame getGame() {
		if(oGame==null) {
			oGame=new HangmanGame();
		}
		return(oGame);
	}
	public void startGame(int iMaxMisses) {
		//We are completely resetting
		oGame=null;
		getGame();
		oGame.start(iMaxMisses);
	}

}

⌨️ 快捷键说明

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