Пример #1
0
 public static PushbackSquare PushbackSquare(Ffb.Dto.ModelChanges.PushbackSquare pushbackSquare)
 {
     return(new PushbackSquare()
     {
         Coordinate = Coordinate.Create(pushbackSquare.coordinate),
         Direction = pushbackSquare.direction.key
     });
 }
Пример #2
0
 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;
 }
Пример #3
0
 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;
 }