Engine.Objects.Layer.GetTile C# (CSharp) Method

GetTile() public method

Gets tile index at the (x, y) position.
public GetTile ( int x, int y ) : short
x int X-coord of tile.
y int Y-coord of tile.
return short
        public short GetTile(int x, int y)
        {
            short v = -1;
            _tiles.Get(x, y, ref v);
            return v;
        }