ScummVM API documentation
Twp::Talking Class Reference
Inheritance diagram for Twp::Talking:
Twp::TalkingBase Twp::Motor

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
 

The documentation for this class was generated from the following file: