17 lines
426 B
C++
17 lines
426 B
C++
/** @file
|
|
* @author Edouard DUPIN
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
* @license APACHE v2.0 (see license file)
|
|
*/
|
|
|
|
#include <ege/debug.h>
|
|
#include <ege/Particule.h>
|
|
#include <ege/ParticuleEngine.h>
|
|
|
|
ege::Particule::Particule(ege::ParticuleEngine* _particuleEngine, const char* _particuleType) :
|
|
m_particuleEngine(_particuleEngine),
|
|
m_particuleType(_particuleType) {
|
|
m_particuleEngine->add(this);
|
|
}
|
|
|