Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.

Dependencies:   25LCxxx_SPI CommonTypes Gameduino mbed

Committer:
RichardE
Date:
Mon Jun 17 15:10:43 2013 +0000
Revision:
18:70190f956a24
Parent:
1:dfd5eaaf96a3
Improved response to button 1 when entering high scores (HighScoreEntry.cpp).

Who changed what in which revision?

UserRevisionLine numberNew contents of line
RichardE 0:5fa232ee5fdf 1 /*
RichardE 0:5fa232ee5fdf 2 * SOURCE FILE : Level.cpp
RichardE 0:5fa232ee5fdf 3 *
RichardE 0:5fa232ee5fdf 4 * Definition of class Level.
RichardE 0:5fa232ee5fdf 5 * Base class for all levels.
RichardE 0:5fa232ee5fdf 6 *
RichardE 0:5fa232ee5fdf 7 */
RichardE 0:5fa232ee5fdf 8
RichardE 0:5fa232ee5fdf 9 #include "Level.h"
RichardE 0:5fa232ee5fdf 10
RichardE 0:5fa232ee5fdf 11 /***************/
RichardE 0:5fa232ee5fdf 12 /* CONSTRUCTOR */
RichardE 0:5fa232ee5fdf 13 /***************/
RichardE 0:5fa232ee5fdf 14 Level::Level() :
RichardE 0:5fa232ee5fdf 15 LevelNumber( 0 ),
RichardE 1:dfd5eaaf96a3 16 highScores( (HighScoreTable*)NULL ),
RichardE 1:dfd5eaaf96a3 17 gd( (Gameduino*)NULL )
RichardE 0:5fa232ee5fdf 18 // player( (PlayerObject*)NULL )
RichardE 0:5fa232ee5fdf 19 {
RichardE 0:5fa232ee5fdf 20 }
RichardE 0:5fa232ee5fdf 21
RichardE 0:5fa232ee5fdf 22 /**************/
RichardE 0:5fa232ee5fdf 23 /* DESTRUCTOR */
RichardE 0:5fa232ee5fdf 24 /**************/
RichardE 0:5fa232ee5fdf 25 Level::~Level() {
RichardE 0:5fa232ee5fdf 26 }
RichardE 0:5fa232ee5fdf 27
RichardE 1:dfd5eaaf96a3 28