◆ Subtitles()
Xeen::Subtitles::Subtitles |
( |
| ) |
|
◆ ~Subtitles()
virtual Xeen::Subtitles::~Subtitles |
( |
| ) |
|
|
virtual |
◆ setLine()
void Xeen::Subtitles::setLine |
( |
int |
line | ) |
|
Set which subtitle line to display
◆ reset()
void Xeen::Subtitles::reset |
( |
| ) |
|
Resets subtitles, stopping any display
◆ active()
bool Xeen::Subtitles::active |
( |
| ) |
const |
Returns true if a subtitle is active
◆ lineActive()
bool Xeen::Subtitles::lineActive |
( |
| ) |
const |
Returns true if a subtitle is active or a voice line is currently being played
◆ show()
void Xeen::Subtitles::show |
( |
| ) |
|
Shows any active subtitle
◆ wait()
bool Xeen::Subtitles::wait |
( |
uint |
numFrames, |
|
|
bool |
interruptable = true |
|
) |
| |
Waits for a given number of frames
- Parameters
-
numFrames | Number of frames to wait |
interruptable | If set, aborts if the mouse or a key is pressed |
- Returns
- True if the wait was aborted
◆ waitForLineOrSound()
bool Xeen::Subtitles::waitForLineOrSound |
( |
| ) |
|
Wait for the end of currently playing sound or subtitles line
The documentation for this class was generated from the following file: