Пример #1
0
 def _rotation_1() -> List[GridOffset]:
     return [
         GridOffset(1, 0),
         GridOffset(1, 1),
         GridOffset(1, 2),
         GridOffset(2, 2)
     ]
Пример #2
0
 def _rotation_3() -> List[GridOffset]:
     return [
         GridOffset(1, 0),
         GridOffset(0, 1),
         GridOffset(1, 1),
         GridOffset(0, 2)
     ]
Пример #3
0
 def _rotation_0() -> List[GridOffset]:
     return [
         GridOffset(2, 0),
         GridOffset(0, 1),
         GridOffset(1, 1),
         GridOffset(2, 1)
     ]
Пример #4
0
 def _rotation_2() -> List[GridOffset]:
     return [
         GridOffset(0, 2),
         GridOffset(1, 2),
         GridOffset(2, 2),
         GridOffset(3, 2)
     ]