Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IParticleAttractionAffector.h
Go to the documentation of this file.
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_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__
6 #define __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__
7 
8 #include "IParticleAffector.h"
9 
10 namespace irr
11 {
12 namespace scene
13 {
14 
17 {
18 public:
19 
21  virtual void setPoint( const core::vector3df& point ) = 0;
22 
24  virtual void setAttract( bool attract ) = 0;
25 
27  virtual void setAffectX( bool affect ) = 0;
28 
30  virtual void setAffectY( bool affect ) = 0;
31 
33  virtual void setAffectZ( bool affect ) = 0;
34 
36  virtual const core::vector3df& getPoint() const = 0;
37 
39  virtual bool getAttract() const = 0;
40 
42  virtual bool getAffectX() const = 0;
43 
45  virtual bool getAffectY() const = 0;
46 
48  virtual bool getAffectZ() const = 0;
49 
51  virtual E_PARTICLE_AFFECTOR_TYPE getType() const { return EPAT_ATTRACT; }
52 };
53 
54 } // end namespace scene
55 } // end namespace irr
56 
57 
58 #endif // __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__
59 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Mon May 6 2013 17:41:01 by Doxygen (1.8.3.1)