Game Development Reference
In-Depth Information
The
m_PreviousCharacterButton
button cycles backward through the character set that is available
for entering the player's name/initials.
private MenuItem m_PreviousCharacterButton;
The
m_EnterButton
button is pressed to select the character for the current player's name/initial
entry position.
private MenuItem m_EnterButton;
The
m_Text
variable holds the character set that will be used for the player's name/initials.
private BillBoardCharacterSet m_Text;
The
m_NumberCharactersInSet
variable holds the number of characters in the
m_Text
character set.
private int m_NumberCharactersInSet = 0;
The
m_CharacterSetIndex
variable is used to keep track of the current character that the user has
selected for input for his or her name/initials.
private int m_CharacterSetIndex = 0;
The
m_FontWidth
is the width of the character font used in the character set
m_Text
.
private int m_FontWidth;
The
m_FontHeight
is the height of the character font used in the character set
m_Text
.
private int m_FontHeight;
The
m_HighScoreEntryMenuImage
variable holds the billboard for the high score entry menu.
private BillBoard m_HighScoreEntryMenuImage;
The
m_Dirty variable
is true if
m_HighScoreEntryMenuImage
has to be updated.
private boolean m_Dirty = true;
The
m_StartingEntryPositionX
variable holds the starting x position of the player's name/initials
input field.
private int m_StartingEntryPositionX;
The
m_StartingEntryPositionY
variable holds the starting y position of the player's name/initials
input field.
private int m_StartingEntryPositionY;