DSMemorizer Class Reference

Game main loop and main menu. More...

#include <dsmemorizer.h>

Collaboration diagram for DSMemorizer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DSMemorizer ()
 Default constructor.
void Init ()
 Init and start the game.

Private Member Functions

void KanjiMode ()
void KanjiQuizMode ()
void VocabularyMode ()
void VocabularyQuizMode ()
void SetOptions (unsigned &grade_min, unsigned &grade_max, unsigned &strokes_min, unsigned &strokes_max)
 Set the options of grade, strokes and romaji conversion.
void SetOptions ()
 Set the option of the romaji conversion.

Private Attributes

bool romaji_conversion
 Romaji conversion option.
SoundHandler sound_handler_
 Sound handler.
XMLParser xmlparser_
 XML files parser.
ScreensHandler screens_handler_
 Handler for screen common things.
MainScreenHandler main_screen_handler_
 Main screen handler.
SubScreenHandler sub_screen_handler_
 Sub screen handler.


Detailed Description

Game main loop and main menu.

Definition at line 30 of file dsmemorizer.h.


Member Function Documentation

void DSMemorizer::KanjiMode (  )  [private]

Kanji game mode. Shows a kanji with its readings, translation and an example

Definition at line 122 of file dsmemorizer.cpp.

Referenced by Init().

void DSMemorizer::KanjiQuizMode (  )  [private]

Kanji quiz game mode. Shows the translation and the two readings of a kanji in the main screen and the right kanji plus 3 more random in the sub screen. The user have to guess which is the right one.

Definition at line 229 of file dsmemorizer.cpp.

Referenced by Init().

void DSMemorizer::VocabularyMode (  )  [private]

Vocabulary memorizing game mode. Shows words with their reading and translation

Definition at line 444 of file dsmemorizer.cpp.

Referenced by Init().

void DSMemorizer::VocabularyQuizMode (  )  [private]

Vocabulary quiz game mode. Shows a word and its reading and asks for the kanji version.

Definition at line 541 of file dsmemorizer.cpp.

Referenced by Init().


The documentation for this class was generated from the following files:

Generated on Fri Oct 2 10:25:29 2009 for DSMemorizer by  doxygen 1.5.8