Skip to main content

Class PuzzlePiece

Assembly: MicroJson.Unit.Tests.dll
View Source
Declaration
public class PuzzlePiece

Properties

X

View Source
Declaration
public int X { get; set; }

Y

View Source
Declaration
public int Y { get; set; }

Width

View Source
Declaration
public int Width { get; }

Height

View Source
Declaration
public int Height { get; }

PieceType

View Source
Declaration
public PieceType PieceType { get; set; }

IsSolved

View Source
Declaration
public bool IsSolved { get; }

IsHorizontalPiece

View Source
Declaration
public bool IsHorizontalPiece { get; }

Methods

MovePiece(int, int)

View Source
Declaration
public void MovePiece(int x, int y)
Parameters
TypeName
System.Int32x
System.Int32y