This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
dungeon-gunner/source/particle/Emitter.cpp
2013-03-29 18:34:51 +01:00

25 lines
358 B
C++
Executable file

/*
* Emitter.cpp
*
* Created on: 15.08.2012
* Author: Felix
*/
#include "Emitter.h"
#include "../World.h"
Emitter::Emitter(World& world) :
mWorld(world) {
}
Emitter::~Emitter() {
}
/**
* Inserts a new particle into the system, using createParticle().
*/
void
Emitter::emit() {
mWorld.insert(createParticle());
}