TetrisBot.TetrisGrid: Expose Width and Height.

This commit is contained in:
2019-11-08 02:10:28 +01:00
parent c3c9bb88ab
commit 7379b52334

View File

@@ -542,6 +542,9 @@ namespace VAR.ScreenAutomation.Bots
private int _gridWidth; private int _gridWidth;
private int _gridHeight; private int _gridHeight;
public int Width { get { return _gridWidth; } }
public int Height { get { return _gridHeight; } }
private byte[][] _grid = null; private byte[][] _grid = null;
private int[] _heights = null; private int[] _heights = null;