GameInfo info = createGameInfo (node);
info.set (type, c, value);
}
private void setTimeSettings (Node node) {
TimeSettings s = null;
if (m_preByoyomi > 0 && (m_ignoreOvertime || m_byoyomi <= 0 || m_byoyomiMoves <= 0))
s = new TimeSettings (m_preByoyomi);
else if (m_preByoyomi <= 0 && !m_ignoreOvertime && m_byoyomi > 0 && m_byoyomiMoves > 0)
s = new TimeSettings (0, m_byoyomi, m_byoyomiMoves);
else if (m_preByoyomi > 0 && !m_ignoreOvertime && m_byoyomi > 0 && m_byoyomiMoves > 0)
s = new TimeSettings (m_preByoyomi, m_byoyomi, m_byoyomiMoves);
if (s != null)
node.createGameInfo ().setTimeSettings (s);
}