source:
trunk/examples/script/qstetrix/tetrixpiece.js@
651
Last change on this file since 651 was 2, checked in by , 16 years ago | |
---|---|
File size: 3.0 KB |
Line | |
---|---|
1 | TetrixShape = { |
2 | NoShape:0, |
3 | ZShape:1, |
4 | SShape:2, |
5 | LineShape:3, |
6 | TShape:4, |
7 | SquareShape:5, |
8 | LShape:6, |
9 | MirroredLShape:7 |
10 | } |
11 | |
12 | TetrixCoordsTable = [ |
13 | [ [ 0, 0 ], [ 0, 0 ], [ 0, 0 ], [ 0, 0 ] ], |
14 | [ [ 0, -1 ], [ 0, 0 ], [ -1, 0 ], [ -1, 1 ] ], |
15 | [ [ 0, -1 ], [ 0, 0 ], [ 1, 0 ], [ 1, 1 ] ], |
16 | [ [ 0, -1 ], [ 0, 0 ], [ 0, 1 ], [ 0, 2 ] ], |
17 | [ [ -1, 0 ], [ 0, 0 ], [ 1, 0 ], [ 0, 1 ] ], |