28 lines
434 B
Markdown
28 lines
434 B
Markdown
|
# Class: base_text_element
|
||
|
|
||
|
Class representing a gui text element.
|
||
|
|
||
|
## Functions (2)
|
||
|
|
||
|
### `set_text(new_text)`
|
||
|
|
||
|
- **Parameters:**
|
||
|
- `new_text` (string): The new text for that gui text element.
|
||
|
|
||
|
**Exemple Usage:**
|
||
|
```lua
|
||
|
base_text_element:set_text(new_text)
|
||
|
```
|
||
|
|
||
|
### `get_text()`
|
||
|
|
||
|
- **Returns:**
|
||
|
- `string`: Returns the current text for that gui text element.
|
||
|
|
||
|
**Exemple Usage:**
|
||
|
```lua
|
||
|
string = base_text_element:get_text()
|
||
|
```
|
||
|
|
||
|
|