Exemple #1
0
 /// <summary>
 /// Changes the color of the specified <see cref="Team"/>
 /// </summary>
 /// <param name="changeTeam">the <see cref="Team"/> to change</param>
 /// <param name="color">The new color</param>
 public void Color(Team changeTeam, ID.MinecraftColor color)
 {
     ForFunction.AddCommand(new TeamModifyColorCommand(changeTeam, color));
 }
Exemple #2
0
 /// <summary>
 /// Intializes a new <see cref="Text"/>
 /// </summary>
 /// <param name="displayText">The text to display</param>
 /// <param name="color">The color of the text</param>
 public Text(string displayText, ID.MinecraftColor color)
 {
     DisplayText = displayText;
     Color       = color;
 }