Show empty space on Tetrominoe print
This commit is contained in:
parent
3c97673d50
commit
4a775ee9a3
1 changed files with 2 additions and 3 deletions
|
@ -44,8 +44,7 @@ public class Tetrominoe {
|
|||
_orientation = value;
|
||||
|
||||
Point newCoords = _coordinates;
|
||||
//ToDo edit position ?
|
||||
//ToDo move position when hot a wall
|
||||
//ToDo: move position when hit a wall
|
||||
|
||||
if (!_grid.CanGo(this, newCoords)) {
|
||||
_orientation = oldOrientation;
|
||||
|
@ -113,7 +112,7 @@ public class Tetrominoe {
|
|||
if (Shape[x, y])
|
||||
s += "x".Pastel(_color);
|
||||
else
|
||||
s += " ";
|
||||
s += "-".Pastel(Color.Black);
|
||||
s += "\n";
|
||||
}
|
||||
return s;
|
||||
|
|
Reference in a new issue