public GetRandomTile ( int mOffset ) : |
||
mOffset | int | |
return |
public VGTile GetRandomTile(int mOffset = 0)
{
Debug.Assert(mOffset >= 0);
Debug.Assert(Width - mOffset >= mOffset);
Debug.Assert(Height - mOffset >= mOffset);
return Tiles[VGUtils.GetRandomInt(mOffset, Width - mOffset), VGUtils.GetRandomInt(mOffset, Height - mOffset)];
}