aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/ISceneNodeAnimatorFinishing.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/ISceneNodeAnimatorFinishing.h')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/ISceneNodeAnimatorFinishing.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/ISceneNodeAnimatorFinishing.h b/libraries/irrlicht-1.8/source/Irrlicht/ISceneNodeAnimatorFinishing.h
new file mode 100644
index 0000000..6535a6c
--- /dev/null
+++ b/libraries/irrlicht-1.8/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
10namespace irr
11{
12namespace 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