aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/ISceneNodeAnimatorFinishing.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:24:39 +1000
committerDavid Walter Seikel2013-01-13 17:24:39 +1000
commit393b5cd1dc438872af89d334ef6e5fcc59f27d47 (patch)
tree6a14521219942a08a1b95cb2f5a923a9edd60f63 /libraries/irrlicht-1.8/source/Irrlicht/ISceneNodeAnimatorFinishing.h
parentAdd a note about rasters suggested start up code. (diff)
downloadSledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.zip
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.gz
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.bz2
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.xz
Added Irrlicht 1.8, but without all the Windows binaries.
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