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
FieldCell.cpp@18:70190f956a24, 2013-06-17 (annotated)
- Committer:
- RichardE
- Date:
- Mon Jun 17 15:10:43 2013 +0000
- Revision:
- 18:70190f956a24
- Parent:
- 15:d8ea0c7b7e64
Improved response to button 1 when entering high scores (HighScoreEntry.cpp).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RichardE | 15:d8ea0c7b7e64 | 1 | /* |
RichardE | 15:d8ea0c7b7e64 | 2 | * SOURCE FILE : FieldCell.cpp |
RichardE | 15:d8ea0c7b7e64 | 3 | * |
RichardE | 15:d8ea0c7b7e64 | 4 | * Definition of class FieldCell. |
RichardE | 15:d8ea0c7b7e64 | 5 | * |
RichardE | 15:d8ea0c7b7e64 | 6 | */ |
RichardE | 15:d8ea0c7b7e64 | 7 | |
RichardE | 15:d8ea0c7b7e64 | 8 | #include "FieldCell.h" |
RichardE | 15:d8ea0c7b7e64 | 9 | |
RichardE | 15:d8ea0c7b7e64 | 10 | /***************/ |
RichardE | 15:d8ea0c7b7e64 | 11 | /* CONSTRUCTOR */ |
RichardE | 15:d8ea0c7b7e64 | 12 | /***************/ |
RichardE | 15:d8ea0c7b7e64 | 13 | FieldCell::FieldCell() : |
RichardE | 15:d8ea0c7b7e64 | 14 | nextCell( (FieldCell*)NULL ) |
RichardE | 15:d8ea0c7b7e64 | 15 | { |
RichardE | 15:d8ea0c7b7e64 | 16 | } |
RichardE | 15:d8ea0c7b7e64 | 17 | |
RichardE | 15:d8ea0c7b7e64 | 18 | /**************/ |
RichardE | 15:d8ea0c7b7e64 | 19 | /* DESTRUCTOR */ |
RichardE | 15:d8ea0c7b7e64 | 20 | /**************/ |
RichardE | 15:d8ea0c7b7e64 | 21 | FieldCell::~FieldCell() { |
RichardE | 15:d8ea0c7b7e64 | 22 | } |
RichardE | 15:d8ea0c7b7e64 | 23 | |
RichardE | 15:d8ea0c7b7e64 | 24 |