Click or drag to resize

IMapTPointWithWindow Method

Returns a WindowedMap based on this map that can be used to lay the grid out in a window.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
WindowedMap<TPoint> WithWindow(
	Rect window
)

Parameters

window
Type: Rect

Return Value

Type: WindowedMapTPoint
Examples
For example:
var map = new RectMap(cellDimensions)
.WithWindow(screenRect)
.AlignMiddleCenter();
See Also