From 7379b523346fd74c80c4dc3ff6f986c122afbc8b Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Fri, 8 Nov 2019 02:10:28 +0100 Subject: [PATCH] TetrisBot.TetrisGrid: Expose Width and Height. --- VAR.ScreenAutomation/Bots/TetrisBot.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VAR.ScreenAutomation/Bots/TetrisBot.cs b/VAR.ScreenAutomation/Bots/TetrisBot.cs index a90c5b3..1d22407 100644 --- a/VAR.ScreenAutomation/Bots/TetrisBot.cs +++ b/VAR.ScreenAutomation/Bots/TetrisBot.cs @@ -542,6 +542,9 @@ namespace VAR.ScreenAutomation.Bots private int _gridWidth; private int _gridHeight; + public int Width { get { return _gridWidth; } } + public int Height { get { return _gridHeight; } } + private byte[][] _grid = null; private int[] _heights = null;