private WestView ( |
||
fieldHead | ||
chipHead | ||
chipCell | ||
리턴 | Cell |
private Cell<Content> WestView(Position fieldHead, Position chipHead, Position chipCell)
{
var x = fieldHead.X - chipCell.Y + chipHead.Y;
var y = fieldHead.Y + chipCell.X - chipHead.X;
return new Cell<Content> { X = x, Y = y, Content = this[x, y] };
}