자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public Chessman ExecuteMovement(Position origin, Position destiny) { Chessman chessman = Board.RemoveChessPiece(origin); chessman.IncreasePieceMoves(); Chessman caughtChessman = Board.RemoveChessPiece(destiny); Board.PutChessPiece(chessman, destiny); if (caughtChessman != null) { CapturedChessman.Add(caughtChessman); } return(caughtChessman); }