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
Sprite/Background.h
- Committer:
- el19tb
- Date:
- 2020-05-14
- Revision:
- 17:67dbdfcdcec2
- Parent:
- 16:8a65cccd9685
- Child:
- 18:6be4c3c94a3d
File content as of revision 17:67dbdfcdcec2:
#ifndef "BACKGROUND_H" #define "BACKGROUND_H" 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 }, }; int safety_lanes_one[4][4] = { { 0, 0, 0, 1 }, { 0, 0, 1, 1 }, { 0, 1, 0, 0 }, { 1, 0, 0, 1 }, }; int safety_lane_two[4][4] = { { 1, 0, 0, 1 }, { 0, 0, 1, 1 }, { 0, 1, 0, 0 }, { 1, 0, 0, 0 }, }; class Background { public: Background(); ~Background(); //void moveWater(); }; #endif