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
Tetromino.cpp@2:55092965eadd, 2020-05-23 (annotated)
- Committer:
- el18rs
- Date:
- Sat May 23 13:59:06 2020 +0000
- Revision:
- 2:55092965eadd
Title screens and shapes designed
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| el18rs | 2:55092965eadd | 1 | #include "Tetromino.h" |
| el18rs | 2:55092965eadd | 2 | |
| el18rs | 2:55092965eadd | 3 | Tetromino::Tetromino() |
| el18rs | 2:55092965eadd | 4 | |
| el18rs | 2:55092965eadd | 5 | |
| el18rs | 2:55092965eadd | 6 | |
| el18rs | 2:55092965eadd | 7 | const int ISprite[4][4] = { |
| el18rs | 2:55092965eadd | 8 | {0,0,1,0,}, |
| el18rs | 2:55092965eadd | 9 | {0,0,1,0,}, |
| el18rs | 2:55092965eadd | 10 | {0,0,1,0,}, |
| el18rs | 2:55092965eadd | 11 | {0,0,1,0,}, |
| el18rs | 2:55092965eadd | 12 | }; |
| el18rs | 2:55092965eadd | 13 | |
| el18rs | 2:55092965eadd | 14 | const int LSprite[4][4] = { |
| el18rs | 2:55092965eadd | 15 | {0,1,0,0,}, |
| el18rs | 2:55092965eadd | 16 | {0,1,0,0,}, |
| el18rs | 2:55092965eadd | 17 | {0,1,1,0,}, |
| el18rs | 2:55092965eadd | 18 | {0,0,0,0,}, |
| el18rs | 2:55092965eadd | 19 | }; |
| el18rs | 2:55092965eadd | 20 | |
| el18rs | 2:55092965eadd | 21 | const int ZSprite[4][4] = { |
| el18rs | 2:55092965eadd | 22 | {0,1,0,0,}, |
| el18rs | 2:55092965eadd | 23 | {0,1,1,0,}, |
| el18rs | 2:55092965eadd | 24 | {0,0,1,0,}, |
| el18rs | 2:55092965eadd | 25 | {0,0,0,0,}, |
| el18rs | 2:55092965eadd | 26 | }; |
| el18rs | 2:55092965eadd | 27 | |
| el18rs | 2:55092965eadd | 28 | const int OSprite[4][4] = { |
| el18rs | 2:55092965eadd | 29 | {0,0,0,0,}, |
| el18rs | 2:55092965eadd | 30 | {0,1,1,0,}, |
| el18rs | 2:55092965eadd | 31 | {0,1,1,0,}, |
| el18rs | 2:55092965eadd | 32 | {0,0,0,0,}, |
| el18rs | 2:55092965eadd | 33 | }; |
| el18rs | 2:55092965eadd | 34 | |
| el18rs | 2:55092965eadd | 35 | const int TSprite[4][4] = { |
| el18rs | 2:55092965eadd | 36 | {0,1,0,0,}, |
| el18rs | 2:55092965eadd | 37 | {0,1,1,0,}, |
| el18rs | 2:55092965eadd | 38 | {0,1,0,0,}, |
| el18rs | 2:55092965eadd | 39 | {0,0,0,0,}, |
| el18rs | 2:55092965eadd | 40 | }; |