Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextAct"/> class.
 /// </summary>
 /// <param name="avatar">The avatar.</param>
 /// <param name="side">The side.</param>
 /// <param name="message">The message.</param>
 public TextAct(IAvatarable avatar, Side side, string message) : this(new AvatarBox(avatar, side, message))
 {
 }
Exemple #2
0
 /// <summary>
 /// Interface constructor for the lazy
 /// </summary>
 /// <param name="avatar">The avatar.</param>
 /// <param name="side">The side.</param>
 /// <param name="text">The text.</param>
 public AvatarBox(IAvatarable avatar, Side side, string text) : this(side, avatar.Sprite, avatar.TextColor, text)
 {
 }