mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
Add a method to check if a given layer is playing
This commit is contained in:
parent
c58dfbe921
commit
b482d5be09
@ -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…
x
Reference in New Issue
Block a user