示例#1
0
 public MoveContext(PositionInfo topLeft, List <PositionInfo> positions, bool[,] bodyMatrix)
 {
     this.TopLeft    = topLeft;
     this.Positions  = positions;
     this.BodyMatrix = bodyMatrix;
 }
示例#2
0
 public void Move(MoveContext moveContext)
 {
     this.topLeft       = moveContext.TopLeft;
     this.bodyPositions = moveContext.Positions;
 }