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/CSceneNodeAnimatorDelete.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/CSceneNodeAnimatorDelete.h')
-rw-r--r-- | src/others/irrlicht-1.8.1/source/Irrlicht/CSceneNodeAnimatorDelete.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/source/Irrlicht/CSceneNodeAnimatorDelete.h b/src/others/irrlicht-1.8.1/source/Irrlicht/CSceneNodeAnimatorDelete.h new file mode 100644 index 0000000..f62848f --- /dev/null +++ b/src/others/irrlicht-1.8.1/source/Irrlicht/CSceneNodeAnimatorDelete.h | |||
@@ -0,0 +1,46 @@ | |||
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 __C_SCENE_NODE_ANIMATOR_DELETE_H_INCLUDED__ | ||
6 | #define __C_SCENE_NODE_ANIMATOR_DELETE_H_INCLUDED__ | ||
7 | |||
8 | #include "ISceneNodeAnimatorFinishing.h" | ||
9 | |||
10 | namespace irr | ||
11 | { | ||
12 | namespace scene | ||
13 | { | ||
14 | class CSceneNodeAnimatorDelete : public ISceneNodeAnimatorFinishing | ||
15 | { | ||
16 | public: | ||
17 | |||
18 | //! constructor | ||
19 | CSceneNodeAnimatorDelete(ISceneManager* manager, u32 when); | ||
20 | |||
21 | //! animates a scene node | ||
22 | virtual void animateNode(ISceneNode* node, u32 timeMs); | ||
23 | |||
24 | //! Returns type of the scene node animator | ||
25 | virtual ESCENE_NODE_ANIMATOR_TYPE getType() const | ||
26 | { | ||
27 | return ESNAT_DELETION; | ||
28 | } | ||
29 | |||
30 | //! Creates a clone of this animator. | ||
31 | /** Please note that you will have to drop | ||
32 | (IReferenceCounted::drop()) the returned pointer after calling | ||
33 | this. */ | ||
34 | virtual ISceneNodeAnimator* createClone(ISceneNode* node, ISceneManager* newManager=0); | ||
35 | |||
36 | private: | ||
37 | |||
38 | ISceneManager* SceneManager; | ||
39 | }; | ||
40 | |||
41 | |||
42 | } // end namespace scene | ||
43 | } // end namespace irr | ||
44 | |||
45 | #endif | ||
46 | |||