示例#1
0
 public PartialMemento(Positions pos, Vertex v)
 {
     _position = pos;
     _vertex   = v;
     _point    = _position._vertices[v];
 }
示例#2
0
 public FullMemento(Positions pos)
 {
     _positions = pos;
     _vertices  = new Dictionary <Vertex, VPoint>(pos._vertices);
 }