#include <unit_frame.hpp>
Public Member Functions | |
progressive_string (const std::string &data="", int duration=0) | |
int | duration () const |
const std::string & | get_current_element (int time) const |
bool | does_not_change () const |
std::string | get_original () |
Private Attributes | |
std::vector< std::pair < std::string, int > > | data_ |
std::string | input_ |
Definition at line 34 of file unit_frame.hpp.
progressive_string::progressive_string | ( | const std::string & | data = "" , |
|
int | duration = 0 | |||
) |
int progressive_string::duration | ( | ) | const |
const std::string & progressive_string::get_current_element | ( | int | time | ) | const |
Definition at line 55 of file unit_frame.cpp.
References data_, and empty_string.
Referenced by frame_builder::parameters().
bool progressive_string::does_not_change | ( | ) | const [inline] |
Definition at line 39 of file unit_frame.hpp.
References data_.
Referenced by frame_builder::does_not_change(), and frame_builder::need_update().
std::string progressive_string::get_original | ( | ) | [inline] |
Definition at line 40 of file unit_frame.hpp.
References input_.
Referenced by frame_builder::recalculate_duration().
std::vector<std::pair<std::string,int> > progressive_string::data_ [private] |
Definition at line 42 of file unit_frame.hpp.
Referenced by does_not_change(), duration(), get_current_element(), and progressive_string().
std::string progressive_string::input_ [private] |
Definition at line 43 of file unit_frame.hpp.
Referenced by get_original(), and progressive_string().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |