| |
|
| java.lang.Object model.Letter
Letter | public class Letter implements Serializable(Code) | | Model for a letter in the game of hangman
author: Jonathan Locke author: Geert Bevin |
Constructor Summary | |
public | Letter(char letter) |
Letter | public Letter(char letter)(Code) | | Constructor
Parameters: letter - The letter |
asString | public String asString()(Code) | | This letter as a string |
guess | public void guess()(Code) | | Guess this letter
|
isGuessed | public boolean isGuessed()(Code) | | Returns the isGuessed. |
reset | public void reset()(Code) | | Resets this letter into the default state
|
|
|
|