Bingshuo Chen
/
Monster_copy_copy
27
Shapes/shapes.h
- Committer:
- cbs27
- Date:
- 2021-04-08
- Revision:
- 0:ef959ad27a16
- Child:
- 2:9a31febe6d2f
File content as of revision 0:ef959ad27a16:
#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] = { { 1,0,1 }, { 0,1,0 }, { 1,0,1 }, }; 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 }, }; #endif