mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-28 20:36:42 +00:00
Add a method to check if a given layer is playing
This commit is contained in:
parent
c58dfbe921
commit
b482d5be09
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ public:
|
||||||
void play(const std::string &groupname, const std::string &start, const std::string &stop, size_t loops);
|
void play(const std::string &groupname, const std::string &start, const std::string &stop, size_t loops);
|
||||||
virtual Ogre::Vector3 runAnimation(float timepassed);
|
virtual Ogre::Vector3 runAnimation(float timepassed);
|
||||||
|
|
||||||
|
bool isPlaying(size_t layeridx) const
|
||||||
|
{ return mLayer[layeridx].mPlaying; }
|
||||||
|
|
||||||
Ogre::Node *getNode(const std::string &name);
|
Ogre::Node *getNode(const std::string &name);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue