Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Sprite/Background.h
- Revision:
- 14:6fe667ec957e
- Child:
- 16:8a65cccd9685
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Sprite/Background.h Wed May 13 17:17:57 2020 +0000 @@ -0,0 +1,49 @@ +#ifndef "BACKGROUND_H" +#define "BACKGROUND_H" + + +int bus[4][6] = { + + // bus has a longer width + { 0, 0, 0, 0, 0, 0 }, + { 1, 1, 1, 1, 1, 1 }, + { 1, 1, 1, 1, 1, 1 }, + { 0, 0, 0, 0, 0, 0 }, + +}; + +int road[4][4] = { + + { 1, 0, 1, 0 }, + { 0, 0, 0, 0 }, + { 0, 0, 0, 0 }, + { 1, 0, 1, 0 }, + +}; + +int first_water[4][4] = { + + { 1, 0, 1, 0 }, + { 0, 0, 0, 1 }, + { 0, 1, 1, 0 }, + { 1, 0, 1, 0 }, +}; + +int second_water[4][4] = { + + { 0, 1, 0, 1 }, + { 0, 0, 0, 0 }, + { 0, 1, 1, 0 }, + { 0, 1, 0, 1 }, + +}; + +int third_water[4][4] = { + { 1, 0, 0, 0 }, + { 0, 1, 1, 1 }, + { 1, 0, 0, 0 }, + { 0, 1, 0, 1 }, + +}; + +#endif \ No newline at end of file