C# Class Game.ChessStep

Inheritance: AbstractStep
Mostrar archivo Open project: porcellus/KomponensAlapuJatek

Protected Properties

Property Type Description
fromRow int
toRow int
type Figure.StepType

Public Methods

Method Description
ChessStep ( int fr, int fc, int tr, int tc, Figure t ) : System
GetFromPosition ( ) : int[]
GetStepType ( ) : Figure.StepType
GetToPosition ( ) : int[]

Method Details

ChessStep() public method

public ChessStep ( int fr, int fc, int tr, int tc, Figure t ) : System
fr int
fc int
tr int
tc int
t Figure
return System

GetFromPosition() public method

public GetFromPosition ( ) : int[]
return int[]

GetStepType() public method

public GetStepType ( ) : Figure.StepType
return Figure.StepType

GetToPosition() public method

public GetToPosition ( ) : int[]
return int[]

Property Details

fromRow protected_oe property

protected int fromRow
return int

toRow protected_oe property

protected int toRow
return int

type protected_oe property

protected Figure.StepType type
return Figure.StepType