Table of Contents

Class LineOp<TCell>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

Class for making LineGrids in different shapes. AbstractOp<TShapeInfo>

[Version(1, 8, 0)]
public class LineOp<TCell> : AbstractOp<ShapeStorageInfo<LinePoint>>

Type Parameters

TCell
Inheritance
LineOp<TCell>
Inherited Members
Extension Methods

Constructors

LineOp()

public LineOp()

LineOp(ShapeStorageInfo<LinePoint>, Func<ShapeStorageInfo<LinePoint>, ShapeStorageInfo<LinePoint>, ShapeStorageInfo<LinePoint>>)

public LineOp(ShapeStorageInfo<LinePoint> leftShapeInfo, Func<ShapeStorageInfo<LinePoint>, ShapeStorageInfo<LinePoint>, ShapeStorageInfo<LinePoint>> combineShapeInfo)

Parameters

leftShapeInfo ShapeStorageInfo<LinePoint>
combineShapeInfo Func<ShapeStorageInfo<LinePoint>, ShapeStorageInfo<LinePoint>, ShapeStorageInfo<LinePoint>>

Methods

Segment(int)

public LineShapeInfo<TCell> Segment(int length)

Parameters

length int

Returns

LineShapeInfo<TCell>