Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.
Dependencies: mbed FXOS8700CQ mbed-rtos
Diff: Game_three/Book/Book.cpp
- Revision:
- 27:4bcdfb212467
- Parent:
- 21:704d938acf5d
- Child:
- 28:a6726a3f8e6d
--- a/Game_three/Book/Book.cpp Tue Apr 30 09:40:35 2019 +0000 +++ b/Game_three/Book/Book.cpp Mon May 06 01:28:50 2019 +0000 @@ -31,20 +31,20 @@ void Book::draw(N5110 &lcd) { int Book_data [14][14] = { - {1,1,1,0,0,0,0,0,0,0,0,1,1,1}, - {1,0,0,1,1,0,0,0,0,1,1,0,0,1}, - {1,0,0,0,0,1,0,0,1,0,0,0,0,1}, - {1,0,1,1,0,0,1,1,0,0,1,1,0,1}, - {1,0,0,0,1,0,0,0,0,1,0,0,0,1}, - {1,0,1,1,0,1,0,1,1,0,1,1,0,1}, - {1,0,0,0,0,0,0,0,0,1,0,0,0,1}, - {1,0,1,0,0,1,0,1,0,0,0,0,0,1}, - {1,0,0,0,1,0,0,0,0,0,1,1,0,1}, - {1,0,0,0,0,1,0,1,1,0,0,0,0,1}, - {1,1,1,0,0,0,0,0,0,0,0,1,1,1}, - {0,1,1,1,1,0,0,0,0,1,1,1,1,0}, - {0,0,0,1,1,1,0,0,1,1,1,0,0,0}, - {0,0,0,0,0,1,1,1,1,0,0,0,0,0}, + {0,0,0,0,0,0,0,0,0,1,0,0,0,0}, + {0,0,0,0,0,0,1,1,1,1,1,0,0,0}, + {0,0,0,1,1,1,1,1,1,1,1,0,0,0}, + {1,1,1,1,1,1,1,1,1,1,1,1,0,0}, + {1,1,1,1,1,1,1,1,1,1,1,1,0,0}, + {0,1,1,1,1,1,1,1,1,1,1,1,1,0}, + {0,1,1,1,1,1,1,1,1,1,1,1,1,0}, + {0,0,1,1,1,1,1,1,1,1,1,1,1,1}, + {0,0,1,1,1,1,1,1,1,1,1,1,1,1}, + {0,0,0,1,1,1,1,1,1,1,1,1,1,0}, + {0,0,0,1,1,1,1,1,1,1,0,0,0,0}, + {0,0,0,0,1,1,1,0,0,0,0,1,1,1}, + {0,0,0,0,1,0,0,0,1,1,1,0,0,0}, + {0,0,0,0,0,1,1,1,0,0,0,0,0,0}, }; // Sprite for the book lcd.drawSprite(_x, _y, 14, 14, (int*)Book_data);