Code example for Hashtable

Methods: put

0
 
	@Override 
	public void draw() { 
		board.drawText("Game Over");
		 
		Dictionary<String, String> dict = new Hashtable<String, String>();
		dict.put("Play(New) ¡ü", "play");
		dict.put("Back to Main Menu ¡ú", "mainmenu");
		board.drawMenu(dict);
	} 
 
}