Ejemplo n.º 1
0
 /// <summary>
 /// Constructor: Crea un nuevo cuento con parámetros
 /// </summary>
 /// <param name="dateofcreation"></param>
 /// <param name="title"></param>
 /// <param name="language"></param>
 /// <param name="author"></param>
 /// <param name="url"></param>
 /// <param name="license"></param>
 /// <param name="background"></param>
 ///  <param name="music"></param>
 public TaleManager(DateTime dateofcreation, String title, String language, String author, String url, String license, String background, String music)
 {
     tale = new Tale(dateofcreation, title, language, author, url, license, background, music);
     this.currentPageIndex      = -1;
     this.currentPictogramIndex = -1;
     this.nextPictogramIndex    = -1;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor vacio
 /// </summary>
 public TaleManager()
 {
     tale = new Tale();
     this.currentPageIndex      = -1;
     this.currentPictogramIndex = -1;
     this.nextPictogramIndex    = -1;
 }