프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BoardHeight | int | ||
BoardWidth | int | ||
XOffsetEast | int | ||
XOffsetWest | int | ||
YOffsetNorth | int | ||
YOffsetSouth | int |
메소드 | 설명 | |
---|---|---|
CreatePoint ( Point point, int xOffset, int yOffset ) : Point | ||
GetAttackablePoints ( Point queenPosition ) : IEnumerable |
||
GoEast ( Point point ) : Point | ||
GoNorth ( Point point ) : Point | ||
GoNorthEast ( Point point ) : Point | ||
GoNorthWest ( Point point ) : Point | ||
GoSouth ( Point point ) : Point | ||
GoSouthEast ( Point point ) : Point | ||
GoSouthWest ( Point point ) : Point | ||
GoWest ( Point point ) : Point | ||
IsOnTheBoard ( Point point ) : bool | ||
Solve ( ) : string |
메소드 | 설명 | |
---|---|---|
CountQueensAttacked ( IEnumerable |
public static CreatePoint ( Point point, int xOffset, int yOffset ) : Point | ||
point | Point | |
xOffset | int | |
yOffset | int | |
리턴 | Point |
public static GetAttackablePoints ( Point queenPosition ) : IEnumerable |
||
queenPosition | Point | |
리턴 | IEnumerable |