]> git.lizzy.rs Git - irrlicht.git/blob - include/IParticleBoxEmitter.h
Bump revision to 1.9.0mt3
[irrlicht.git] / include / IParticleBoxEmitter.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef __I_PARTICLE_BOX_EMITTER_H_INCLUDED__\r
6 #define __I_PARTICLE_BOX_EMITTER_H_INCLUDED__\r
7 \r
8 #include "IParticleEmitter.h"\r
9 #include "aabbox3d.h"\r
10 \r
11 namespace irr\r
12 {\r
13 namespace scene\r
14 {\r
15 \r
16 //! A particle emitter which emits particles from a box shaped space\r
17 class IParticleBoxEmitter : public IParticleEmitter\r
18 {\r
19 public:\r
20 \r
21         //! Set the box shape\r
22         virtual void setBox( const core::aabbox3df& box ) = 0;\r
23 \r
24         //! Get the box shape set\r
25         virtual const core::aabbox3df& getBox() const = 0;\r
26 \r
27         //! Get emitter type\r
28         virtual E_PARTICLE_EMITTER_TYPE getType() const _IRR_OVERRIDE_ { return EPET_BOX; }\r
29 };\r
30 \r
31 } // end namespace scene\r
32 } // end namespace irr\r
33 \r
34 \r
35 #endif\r
36 \r