V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09...

Preview:

Citation preview

V12V12

Highscores

WS 2009/10Simulation und 3D Programmierung

Prof. Dr. Manfred Thaller

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Ziel:

Anlegen einer Highscore TabelleAbspeichern neuer HighscoresAusgabe der Highscore Tabelle

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Format festlegen: - für allgemeine und leichte Lesbarkeit

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Eigenständige Klasse highscore anlegen:

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Konstruktor: highscore::highscore()

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Destruktor: highscore::~highscore()

12.11.09 Martina Hänsel

Neues Objekt der Klasse highscore

V12 - HighscoresV12 - Highscores

Dialog Ressource:

12.11.09 Martina Hänsel

WICHTIG: Alle Felder müssen Schreibgeschützt sein

V12 - HighscoresV12 - Highscores

Dazugehörige Callback Handler:

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Verbinden mit Menüpunkt ID_INFO_HIGHSCORE

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Zwischendialog zum eintragen neuer Highscores:

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Funktion: highscore::newscore

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Funktion: highscore::newscore

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Callback Handler für den Siegerehrung Dialog:

12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

GESCHAFFT!

12.11.09 Martina Hänsel

Viel Spielvergnügen mit Ultris!

Recommended