29 #ifndef _AnimatedModel_H__ 30 #define _AnimatedModel_H__ 47 void registerVariables();
49 virtual void changedAnimationState();
50 virtual void setAnimationState(
bool loop,
bool enabled,
const std::string& state);
51 virtual void setAnimEnabled(
bool enabled);
52 virtual void setAnimLoop(
bool loop);
53 virtual void tick(
float dt)
override;
54 virtual void changedMesh();
58 { this->anims_ = anims; this->changedAnimationState(); }
60 {
return this->anims_; }
63 {
return this->anims_; }
65 {
return this->bAnimLoop_; }
67 {
return this->bAnimEnabled_; }
Definition of Model Class.
const std::string & getAnims() const
Definition: AnimatedModel.h:59
Declaration of the Tickable interface.
::std::string string
Definition: gtest-port.h:756
bool bAnimEnabled_
Definition: AnimatedModel.h:71
Definition: AnimatedModel.h:40
std::string anims_
Definition: AnimatedModel.h:70
const bool & getAnimLoop() const
Definition: AnimatedModel.h:64
xmlelement
Definition: Super.h:519
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
void setAnims(const std::string &anims)
Definition: AnimatedModel.h:57
Mode
Definition: CorePrereqs.h:102
Shared library macros, enums, constants and forward declarations for the orxonox library ...
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
bool bAnimLoop_
Definition: AnimatedModel.h:72
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52
const std::string & getAnimationState() const
Definition: AnimatedModel.h:62
const bool & getAnimEnabled() const
Definition: AnimatedModel.h:66