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 N5110 ShiftReg PinDetect
Diff: Resources.h
- Revision:
- 13:7ab71c7c311b
- Parent:
- 12:8178fad5e660
- Child:
- 15:d5eb13c4c1c6
--- a/Resources.h Fri May 08 23:51:26 2015 +0000 +++ b/Resources.h Sat May 09 13:56:14 2015 +0000 @@ -6,7 +6,7 @@ /// Images: Arrays consisting of 1 (opaque) or 0 (blank). namespace Image { - const int Player[5][5] = { + const int Square5[5][5] = { {1, 1, 1, 1, 1}, {1, 0, 0, 0, 1}, {1, 0, 0, 0, 1}, @@ -15,75 +15,34 @@ }; // Player sprite - /*const int Player[5][5] = { + const int Player[5][5] = { {0, 0, 1, 1, 0}, {0, 1, 0, 0, 1}, {1, 0, 1, 1, 0}, {0, 0, 1, 1, 0}, {0, 1, 0, 0, 1} - };*/ + }; + + const int Cross3[3][3] = { + {0,1,0}, + {1,1,1}, + {0,1,0} + }; + + const int Enemy2[4][3] = { + {1,1,1}, + {0,1,0}, + {1,1,1}, + {1,0,1} + }; + + const int Enemy1[5][5] = { + {1,0,0,0,1}, + {0,1,1,1,0}, + {0,0,1,0,0}, + {0,1,1,1,0}, + {1,1,0,1,1} + }; } -namespace Border -{ - const int DotsColumn[48][3] = { -{0,0,0}, -{0,1,0}, -{0,0,0}, -{1,1,1}, -{1,0,1}, -{1,1,1}, -{0,0,0}, -{0,1,0}, -{0,0,0}, -{1,1,1}, -{1,0,1}, -{1,1,1}, -{0,0,0}, -{0,1,0}, -{0,0,0}, -{1,1,1}, -{1,0,1}, -{1,1,1}, -{0,0,0}, -{0,1,0}, -{0,0,0}, -{1,1,1}, -{1,0,1}, -{1,1,1}, -{0,0,0}, -{0,1,0}, -{0,0,0}, -{1,1,1}, -{1,0,1}, -{1,1,1}, -{0,0,0}, -{0,1,0}, -{0,0,0}, -{1,1,1}, -{1,0,1}, -{1,1,1}, -{0,0,0}, -{0,1,0}, -{0,0,0}, -{1,1,1}, -{1,0,1}, -{1,1,1}, -{0,0,0}, -{0,1,0}, -{0,0,0}, -{1,1,1}, -{1,0,1}, -{1,1,1} -}; - - - - - -} - - - - #endif \ No newline at end of file