forked from LaVieon/GrasshopperTetris
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLBlock.cs
More file actions
16 lines (14 loc) · 676 Bytes
/
Copy pathLBlock.cs
File metadata and controls
16 lines (14 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Tetris
{
public class LBlock : Block
{
public override int Id => 3;
protected override Position StartOffset => new Position(0, 3);
protected override Position[][] Tiles => new Position[][] {
new Position[] {new Position(0,2), new Position(1,0), new Position(1,1), new Position(1,2)},
new Position[] {new Position(0,1), new Position(1,1), new Position(2,1), new Position(2,2)},
new Position[] {new Position(1,0), new Position(1,1), new Position(1,2), new Position(2,0)},
new Position[] {new Position(0,0), new Position(0,1), new Position(1,1), new Position(2,1)}
};
}
}