public static PushbackSquare PushbackSquare(Ffb.Dto.ModelChanges.PushbackSquare pushbackSquare) { return(new PushbackSquare() { Coordinate = Coordinate.Create(pushbackSquare.coordinate), Direction = pushbackSquare.direction.key }); }
public PushbackSquare(Ffb.Dto.ModelChanges.PushbackSquare square) { Coordinate = Coordinate.Create(square.coordinate); Direction = square.direction.key; HomeChoice = square.homeChoice; Locked = square.locked; Selected = square.selected; }
internal void Set(Ffb.Dto.ModelChanges.PushbackSquare square) { Coordinate = Coordinate.Create(square.coordinate); Direction = square.direction.key; HomeChoice = square.homeChoice; Locked = square.locked; Selected = square.selected; Active = true; }