forked from teamnwah/openmw-tes3coop
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);
|
||||
virtual Ogre::Vector3 runAnimation(float timepassed);
|
||||
|
||||
bool isPlaying(size_t layeridx) const
|
||||
{ return mLayer[layeridx].mPlaying; }
|
||||
|
||||
Ogre::Node *getNode(const std::string &name);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue