Abathur.Core.Intel.Map.BitMapHandler.GetValue C# (CSharp) Method

GetValue() public method

public GetValue ( int x, int y ) : int
x int
y int
return int
        public override int GetValue(int x, int y) {
            if (CalculateIndex(x, y, _data.Length, out int index))
                return _data[index] ? 1 : 0;
            return 0;
        }
    }