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