aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/source/Irrlicht/CSceneNodeAnimatorDelete.h
diff options
context:
space:
mode:
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.h46
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
10namespace irr
11{
12namespace 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