![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
27
Shapes/shapes.h
- Committer:
- cbs27
- Date:
- 2021-04-24
- Revision:
- 2:9a31febe6d2f
- Parent:
- 0:ef959ad27a16
File content as of revision 2:9a31febe6d2f:
#ifndef SHAPES_H #define SHAPES_H #include "mbed.h" #include "N5110.h" /* const int whiteMonster[7][6]; const int blackMonster[7][7]; const int blackAntiMonster[7][7]; const int shapHeart[4][5]; const int shapStar[3][3]; */ const int whiteMonster[6][7] = { { 0,0,0,1,0,0,0 }, { 0,1,0,0,0,1,0 }, { 0,0,1,0,1,0,0 }, { 1,0,1,0,1,0,1 }, { 1,0,0,0,0,0,1 }, { 1,0,1,0,1,0,1 }, }; const int blackMonster[7][7] = { { 0,0,1,1,1,0,0 }, { 0,1,1,1,1,1,0 }, { 1,1,0,1,0,1,1 }, { 1,1,0,1,0,1,1 }, { 1,1,1,1,1,1,1 }, { 1,0,1,0,1,0,1 }, { 0,0,0,0,0,0,0 }, }; const int blackAntiMonster[7][7] = { { 0,0,0,0,0,0,0 }, { 1,0,1,0,1,0,1 }, { 1,1,1,1,1,1,1 }, { 1,1,0,1,0,1,1 }, { 1,1,0,1,0,1,1 }, { 0,1,1,1,1,1,0 }, { 0,0,1,1,1,0,0 }, }; const int shapHeart[4][5] = { { 1,1,0,1,1 }, { 1,1,1,1,1 }, { 0,1,1,1,0 }, { 0,0,1,0,0 }, }; const int shapStar[3][3] = { { 0,1,0 }, { 1,1,1 }, { 0,1,0 }, }; const int bigMonster[12][14] { { 0,0,0,0,0,0,1,1,0,0,0,0,0,0 }, { 0,0,0,0,0,0,1,1,0,0,0,0,0,0 }, { 0,0,1,1,0,0,0,0,0,0,1,1,0,0 }, { 0,0,1,1,0,0,0,0,0,0,1,1,0,0 }, { 0,0,0,0,1,1,0,0,1,1,0,0,0,0 }, { 0,0,0,0,1,1,0,0,1,1,0,0,0,0 }, { 1,1,0,0,1,1,0,0,1,1,0,0,1,1 }, { 1,1,0,0,1,1,0,0,1,1,0,0,1,1 }, { 1,1,0,0,0,0,0,0,0,0,0,0,1,1 }, { 1,1,0,0,0,0,0,0,0,0,0,0,1,1 }, { 1,1,0,0,1,1,0,0,1,1,0,0,1,1 }, { 1,1,0,0,1,1,0,0,1,1,0,0,1,1 }, }; const int whiteMonster_sword[6][11] = { { 0,0,0,1,0,0,0,0,0,0,0 }, { 0,1,0,0,0,1,0,0,0,1,0 }, { 0,0,1,0,1,0,0,0,1,1,1 }, { 1,0,1,0,1,0,1,0,0,1,0 }, { 1,0,0,0,0,0,1,0,0,1,0 }, { 1,0,1,0,1,0,1,0,0,1,0 }, }; const int blackMonster_sword[6][11] = { { 0,0,0,0,0,0,1,1,1,0,0 }, { 0,1,0,0,0,1,1,1,1,1,0 }, { 1,1,1,0,1,1,0,1,0,1,1 }, { 0,1,0,0,1,1,0,1,0,1,1 }, { 0,1,0,0,1,1,1,1,1,1,1 }, { 0,1,0,0,1,0,1,0,1,0,1 }, }; const int blackMonster_shield[10][11] = { { 0,0,0,1,1,1,1,1,0,0,0 }, { 0,0,1,0,0,0,0,0,1,0,0 }, { 0,1,0,0,1,1,1,0,0,1,0 }, { 1,0,0,1,1,1,1,1,0,0,1 }, { 1,0,1,1,0,1,0,1,1,0,1 }, { 1,0,1,1,0,1,0,1,1,0,1 }, { 1,0,1,1,1,1,1,1,1,0,1 }, { 1,0,1,0,1,0,1,0,1,0,1 }, { 0,1,0,0,0,0,0,0,0,1,0 }, { 0,0,1,1,1,1,1,1,1,0,0 }, }; const int bullet[3][2] = { { 1,0 }, { 0,1 }, { 1,0 }, }; #endif