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

Protected Member Functions

 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 Member Functions inherited from Twp::Motor
virtual void onUpdate (float elapsed)=0
 

Protected Attributes

Common::SharedPtr< Object_actor
 
float _duration = 0.f
 
float _elapsed = 0.f
 
- Protected Attributes inherited from Twp::Motor
bool _enabled = true
 

Additional Inherited Members

- Public Member Functions inherited from Twp::Motor
virtual void disable ()
 
virtual bool isEnabled () const
 
void update (float elapsed)
 

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