Exemple #1
0
        public override void OnEnter(PgnMove currentMove)
        {
            _currentVariation = new PgnVariation();
            currentMove.Variation.Add(_currentVariation);

            _currentMove = new PgnMove();
        }
Exemple #2
0
 public PgnMove(string move, string comment, PgnVariation variation, string annotation)
 {
     Move      = move;
     Comment   = comment;
     Variation = new List <PgnVariation>();
     if (variation != null)
     {
         Variation.Add(variation);
     }
     Annotation = annotation;
 }
Exemple #3
0
 public PgnMove(string move, string comment, PgnVariation variation) :
     this(string.Empty, string.Empty, variation, string.Empty)
 {
 }