public override void OnEnter(PgnMove currentMove) { _currentVariation = new PgnVariation(); currentMove.Variation.Add(_currentVariation); _currentMove = new PgnMove(); }
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; }
public PgnMove(string move, string comment, PgnVariation variation) : this(string.Empty, string.Empty, variation, string.Empty) { }