etrobocon2018 feat.KatLab  770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
 全て クラス 名前空間 ファイル 関数 変数 列挙型 列挙値 フレンド マクロ定義 ページ
BlockArea.cpp
[詳解]
1 #include <BlockArea.h>
2 
4 {
5  if(n1 % 4 != 3
6  && colorBlockPlaceArray[n1]->black_line[BlockSideBySide::Direction::WEST]->getPlaceCord()
7  == n2) {
9  } else if(n1 % 4 != 0
12  ->getPlaceCord()
13  == n2) {
15  } else if(n1 > 3
18  ->getPlaceCord()
19  == n2) {
21  } else {
23  }
24 }
std::array< std::shared_ptr< ColorBlockPlace >, 16 > colorBlockPlaceArray
Definition: BlockArea.h:53
BlockSideBySide::Direction getDirection(std::int8_t n1, std::int8_t n2)
Definition: BlockArea.cpp:3