Expand description
This module holds the structs related to displaying text and ASCII art on a Canvas
Structs§
- Animated
Sprite - The
AnimatedSpritestruct contains a list ofStrings into which it indexes based on itscurrent_frameproperty. You can cycle through frames with theAnimatedSprite::next_frame()function - Sprite
- The
Spritetakes a multi-line string as a parameter, and can be used to draw ASCII art to aCanvas - Text
- Displays text at the given position
- Text
Align2D - Two-dimensional text align, used by
SpriteandAnimatedSprite