Texts
Extends: Node2D
Description
The parent class holding all Text of a Level.
Properties
Level | Level |
Methods
Dictionary[] | Save ( ) |
void | Load ( Dictionary[] data ) |
Text | CreateText ( ) |
Text | LoadText ( Dictionary data ) |
void | Resize ( int x, int y, int w, int h ) |
Property Descriptions
- Level Level:
The Level in which this class instance resides.
Method Descriptions
- Dictionary[] Save ( ):
Save all Text in this level as a list into the save file format and return it as an Array.
- void Load ( Dictionary[] data ):
Load a list of saved Text data. Used by a saved map file to load existing Texts.
- Text CreateText ( ):
Creates a Text and adds it as a child.
- Text LoadText ( Dictionary data ):
Load a single Text into this level. Called by Load() as it loads all the Texts.