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
Level.cpp@0:5fa232ee5fdf, 2013-06-04 (annotated)
- Committer:
- RichardE
- Date:
- Tue Jun 04 20:16:33 2013 +0000
- Revision:
- 0:5fa232ee5fdf
- Child:
- 1:dfd5eaaf96a3
Started conversion from Maple version of game. So far Gameduino seems to have been initialised OK and just displays a sign on message. Lots of commented out code.
Who changed what in which revision?
User | Revision | Line number | New 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 | 0:5fa232ee5fdf | 16 | highScores( (HighScoreTable*)NULL ) |
RichardE | 0:5fa232ee5fdf | 17 | // player( (PlayerObject*)NULL ) |
RichardE | 0:5fa232ee5fdf | 18 | { |
RichardE | 0:5fa232ee5fdf | 19 | } |
RichardE | 0:5fa232ee5fdf | 20 | |
RichardE | 0:5fa232ee5fdf | 21 | /**************/ |
RichardE | 0:5fa232ee5fdf | 22 | /* DESTRUCTOR */ |
RichardE | 0:5fa232ee5fdf | 23 | /**************/ |
RichardE | 0:5fa232ee5fdf | 24 | Level::~Level() { |
RichardE | 0:5fa232ee5fdf | 25 | } |
RichardE | 0:5fa232ee5fdf | 26 |