|
supertux
|
A text array intended for scripts with narration. More...
#include <text_array.hpp>
Public Member Functions | |
| void | clear () |
| void | add_text (const std::string &text) |
| void | add_text_duration (const std::string &text, float duration) |
| void | set_text_index (int index_) |
| void | set_keep_visible (bool keep_visible_) |
| void | set_fade_transition (bool fade_transition) |
| void | set_fade_time (float fadetime) |
| void | set_done (bool done) |
| void | set_auto (bool is_auto) |
| void | next_text () |
| void | prev_text () |
| void | set_text (const std::string &text) |
| void | set_font (const std::string &fontname) |
| void | fade_in (float fadetime) |
| void | fade_out (float fadetime) |
| void | set_visible (bool visible) |
| void | set_centered (bool centered) |
| void | set_pos (float x, float y) |
| float | get_pos_x () const |
| float | get_pos_y () const |
| void | set_anchor_point (int anchor) |
| int | get_anchor_point () const |
Public Member Functions inherited from scripting::GameObject<::TextArrayObject > | |
| GameObject (UID uid) | |
| ::TextArrayObject * | get_object_ptr () const |
Additional Inherited Members | |
Protected Attributes inherited from scripting::GameObject<::TextArrayObject > | |
| UID | m_uid |
A text array intended for scripts with narration.
1.8.12