diff options
author | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
commit | 7028cbe09c688437910a25623098762bf0fa592d (patch) | |
tree | 10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/source/Irrlicht/ISceneNodeAnimatorFinishing.h | |
parent | Move lemon to the src/others directory. (diff) | |
download | SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2 SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz |
Move Irrlicht to src/others.
Diffstat (limited to 'src/others/irrlicht-1.8.1/source/Irrlicht/ISceneNodeAnimatorFinishing.h')
-rw-r--r-- | src/others/irrlicht-1.8.1/source/Irrlicht/ISceneNodeAnimatorFinishing.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/source/Irrlicht/ISceneNodeAnimatorFinishing.h b/src/others/irrlicht-1.8.1/source/Irrlicht/ISceneNodeAnimatorFinishing.h new file mode 100644 index 0000000..6535a6c --- /dev/null +++ b/src/others/irrlicht-1.8.1/source/Irrlicht/ISceneNodeAnimatorFinishing.h | |||
@@ -0,0 +1,36 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | ||
2 | // This file is part of the "Irrlicht Engine". | ||
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | ||
4 | |||
5 | #ifndef __I_SCENE_NODE_ANIMATOR_FINISHING_H_INCLUDED__ | ||
6 | #define __I_SCENE_NODE_ANIMATOR_FINISHING_H_INCLUDED__ | ||
7 | |||
8 | #include "ISceneNode.h" | ||
9 | |||
10 | namespace irr | ||
11 | { | ||
12 | namespace scene | ||
13 | { | ||
14 | //! This is an abstract base class for animators that have a discrete end time. | ||
15 | class ISceneNodeAnimatorFinishing : public ISceneNodeAnimator | ||
16 | { | ||
17 | public: | ||
18 | |||
19 | //! constructor | ||
20 | ISceneNodeAnimatorFinishing(u32 finishTime) | ||
21 | : FinishTime(finishTime), HasFinished(false) { } | ||
22 | |||
23 | virtual bool hasFinished(void) const { return HasFinished; } | ||
24 | |||
25 | protected: | ||
26 | |||
27 | u32 FinishTime; | ||
28 | bool HasFinished; | ||
29 | }; | ||
30 | |||
31 | |||
32 | } // end namespace scene | ||
33 | } // end namespace irr | ||
34 | |||
35 | #endif | ||
36 | |||