/// <summary>
 ///  Constructs the CST scene script from the specified file name and lines.
 /// </summary>
 /// <param name="fileName">The file name of the CST scene script with the .cst extension.</param>
 /// <param name="lines">The SCENELINE struct array containing the scene line commands.</param>
 internal CstScene(string fileName, SCRIPTLINE[] lines)
 {
     FileName = Path.GetFileName(fileName);
     ISceneLine[] newLines = new ISceneLine[lines.Length];
     for (int i = 0; i < lines.Length; i++)
     {
         newLines[i] = SceneUtils.CreateLine((SceneLineType)lines[i].Type, lines[i].Content);
     }
     Lines = newLines.AsReadOnly();
 }