Class TextSprite

java.lang.Object
games.stendhal.client.sprite.ImageSprite
games.stendhal.client.sprite.TextSprite
All Implemented Interfaces:
Sprite

public class TextSprite extends ImageSprite
Outlined text representation of a string.
  • Method Details

    • createTextSprite

      public static TextSprite createTextSprite(String text, Color textColor)
      Create a new TextSprite
      Parameters:
      text - The text to be rendered
      textColor - Color of the text
      Returns:
      TextSprite with the wanted text