14
V12 V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

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

Embed Size (px)

Citation preview

Page 1: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12V12

Highscores

WS 2009/10Simulation und 3D Programmierung

Prof. Dr. Manfred Thaller

12.11.09 Martina Hänsel

Page 2: V12 Highscores WS 2009/10 Simulation 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

Page 3: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Format festlegen: - für allgemeine und leichte Lesbarkeit

12.11.09 Martina Hänsel

Page 4: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Eigenständige Klasse highscore anlegen:

12.11.09 Martina Hänsel

Page 5: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Konstruktor: highscore::highscore()

12.11.09 Martina Hänsel

Page 6: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Destruktor: highscore::~highscore()

12.11.09 Martina Hänsel

Neues Objekt der Klasse highscore

Page 7: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Dialog Ressource:

12.11.09 Martina Hänsel

WICHTIG: Alle Felder müssen Schreibgeschützt sein

Page 8: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Dazugehörige Callback Handler:

12.11.09 Martina Hänsel

Page 9: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Verbinden mit Menüpunkt ID_INFO_HIGHSCORE

12.11.09 Martina Hänsel

Page 10: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Zwischendialog zum eintragen neuer Highscores:

12.11.09 Martina Hänsel

Page 11: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Funktion: highscore::newscore

12.11.09 Martina Hänsel

Page 12: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Funktion: highscore::newscore

12.11.09 Martina Hänsel

Page 13: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

Callback Handler für den Siegerehrung Dialog:

12.11.09 Martina Hänsel

Page 14: V12 Highscores WS 2009/10 Simulation und 3D Programmierung Prof. Dr. Manfred Thaller 12.11.09 Martina Hänsel

V12 - HighscoresV12 - Highscores

GESCHAFFT!

12.11.09 Martina Hänsel

Viel Spielvergnügen mit Ultris!