Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CharInfo"/> struct.
 /// </summary>
 /// <param name="character">
 /// The character that should be written.
 /// </param>
 /// <param name="colors">
 /// The colors that should be used when writing this character.
 /// </param>
 /// <param name="delay">
 /// The delay that should occur after writing this character, in milliseconds. A delay of 0 means no delay.
 /// </param>
 public CharInfo(char character, TerminalColors colors, ushort delay)
 {
     this.Character = character;
     this.Colors = colors;
     this.Delay = delay;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CharInfo"/> struct.
 /// </summary>
 /// <param name="character">
 /// The character that should be written.
 /// </param>
 /// <param name="colors">
 /// The colors that should be used when writing this character.
 /// </param>
 public CharInfo(char character, TerminalColors colors)
     : this(character, colors, 0)
 {
 }