![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
Diff: GameEngine/RocketRacer.cpp
- Revision:
- 27:771d186b1bc8
- Parent:
- 25:7e3b6df93dd5
- Child:
- 28:39607fb67e88
--- a/GameEngine/RocketRacer.cpp Sat Apr 20 21:23:33 2019 +0000 +++ b/GameEngine/RocketRacer.cpp Sun Apr 21 11:26:12 2019 +0000 @@ -2,37 +2,6 @@ -//enemy sprite -const int enemy[11][9] = { - { 1,1,1,1,0,1,1,1,1 }, - { 1,1,1,0,0,0,1,1,1 }, - { 1,1,0,0,0,0,0,1,1 }, - { 1,0,0,0,0,0,0,0,1 }, - { 1,0,0,0,0,0,0,0,1 }, - { 1,0,0,0,0,0,0,0,1 }, - { 0,0,0,0,0,0,0,0,0 }, - { 0,0,0,0,0,0,0,0,0 }, - { 0,0,0,0,0,0,0,0,0 }, - { 0,0,0,0,0,0,0,0,0 }, - { 0,0,0,0,0,0,0,0,0 }, -}; - -//player sprite -const int rocket[11][9] = { - { 1,1,1,1,0,1,1,1,1 }, - { 1,1,1,0,0,0,1,1,1 }, - { 1,1,0,0,0,0,0,1,1 }, - { 1,0,0,0,0,0,0,0,1 }, - { 1,0,0,0,0,0,0,0,1 }, - { 1,0,0,0,0,0,0,0,1 }, - { 1,1,0,0,0,0,0,1,1 }, - { 1,1,1,0,0,0,1,1,1 }, - { 1,1,1,1,0,1,1,1,1 }, - { 1,1,0,0,0,0,0,1,1 }, - { 1,1,0,0,0,0,0,1,1 }, -}; - - /* default constructor of the class and initializing th eprivate variables */