Public Member Functions | |
SayLineAt (const Math::Vector2d &pos, const Color &color, Common::SharedPtr< Object > actor, float duration, const Common::String &text) | |
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 |