Public Member Functions | |
Talking (Common::SharedPtr< Object > obj, const Common::StringArray &texts, const Color &color) | |
void | append (const Common::StringArray &texts, const Color &color) |
virtual void | onUpdate (float elapsed) override |
virtual void | disable () override |
Public Member Functions inherited from Twp::Motor | |
virtual bool | isEnabled () const |
void | update (float elapsed) |
Additional Inherited Members | |
Protected Member Functions inherited from Twp::TalkingBase | |
TalkingBase (Common::SharedPtr< Object > actor, float duration) | |
Common::String | talkieKey () |
int | onTalkieId (int id) |
int | loadActorSpeech (const Common::String &name) |
void | setDuration (const Common::String &text) |
float | getTalkSpeed () const |
Protected Attributes inherited from Twp::TalkingBase | |
Common::SharedPtr< Object > | _actor |
float | _duration = 0.f |
float | _elapsed = 0.f |
Protected Attributes inherited from Twp::Motor | |
bool | _enabled = true |