Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void CollapseColumn(int column)
- {
- int gapCount = 0;
- for (int y = 0; y < Layout.Height; y++)
- {
- GridPos pos = new GridPos(column, y);
- if (Layout[pos] == null) gapCount++;
- else Layout[pos].MoveDown(gapCount);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement