aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IParticleAttractionAffector.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/include/IParticleAttractionAffector.h')
-rw-r--r--libraries/irrlicht-1.8/include/IParticleAttractionAffector.h118
1 files changed, 59 insertions, 59 deletions
diff --git a/libraries/irrlicht-1.8/include/IParticleAttractionAffector.h b/libraries/irrlicht-1.8/include/IParticleAttractionAffector.h
index 6f9d8ab..7e874e8 100644
--- a/libraries/irrlicht-1.8/include/IParticleAttractionAffector.h
+++ b/libraries/irrlicht-1.8/include/IParticleAttractionAffector.h
@@ -1,59 +1,59 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt 1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__ 5#ifndef __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__
6#define __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__ 6#define __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__
7 7
8#include "IParticleAffector.h" 8#include "IParticleAffector.h"
9 9
10namespace irr 10namespace irr
11{ 11{
12namespace scene 12namespace scene
13{ 13{
14 14
15//! A particle affector which attracts or detracts particles. 15//! A particle affector which attracts or detracts particles.
16class IParticleAttractionAffector : public IParticleAffector 16class IParticleAttractionAffector : public IParticleAffector
17{ 17{
18public: 18public:
19 19
20 //! Set the point that particles will attract to 20 //! Set the point that particles will attract to
21 virtual void setPoint( const core::vector3df& point ) = 0; 21 virtual void setPoint( const core::vector3df& point ) = 0;
22 22
23 //! Set whether or not the particles are attracting or detracting 23 //! Set whether or not the particles are attracting or detracting
24 virtual void setAttract( bool attract ) = 0; 24 virtual void setAttract( bool attract ) = 0;
25 25
26 //! Set whether or not this will affect particles in the X direction 26 //! Set whether or not this will affect particles in the X direction
27 virtual void setAffectX( bool affect ) = 0; 27 virtual void setAffectX( bool affect ) = 0;
28 28
29 //! Set whether or not this will affect particles in the Y direction 29 //! Set whether or not this will affect particles in the Y direction
30 virtual void setAffectY( bool affect ) = 0; 30 virtual void setAffectY( bool affect ) = 0;
31 31
32 //! Set whether or not this will affect particles in the Z direction 32 //! Set whether or not this will affect particles in the Z direction
33 virtual void setAffectZ( bool affect ) = 0; 33 virtual void setAffectZ( bool affect ) = 0;
34 34
35 //! Get the point that particles are attracted to 35 //! Get the point that particles are attracted to
36 virtual const core::vector3df& getPoint() const = 0; 36 virtual const core::vector3df& getPoint() const = 0;
37 37
38 //! Get whether or not the particles are attracting or detracting 38 //! Get whether or not the particles are attracting or detracting
39 virtual bool getAttract() const = 0; 39 virtual bool getAttract() const = 0;
40 40
41 //! Get whether or not the particles X position are affected 41 //! Get whether or not the particles X position are affected
42 virtual bool getAffectX() const = 0; 42 virtual bool getAffectX() const = 0;
43 43
44 //! Get whether or not the particles Y position are affected 44 //! Get whether or not the particles Y position are affected
45 virtual bool getAffectY() const = 0; 45 virtual bool getAffectY() const = 0;
46 46
47 //! Get whether or not the particles Z position are affected 47 //! Get whether or not the particles Z position are affected
48 virtual bool getAffectZ() const = 0; 48 virtual bool getAffectZ() const = 0;
49 49
50 //! Get emitter type 50 //! Get emitter type
51 virtual E_PARTICLE_AFFECTOR_TYPE getType() const { return EPAT_ATTRACT; } 51 virtual E_PARTICLE_AFFECTOR_TYPE getType() const { return EPAT_ATTRACT; }
52}; 52};
53 53
54} // end namespace scene 54} // end namespace scene
55} // end namespace irr 55} // end namespace irr
56 56
57 57
58#endif // __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__ 58#endif // __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__
59 59