update particles garbage collection scheme
This commit is contained in:
@@ -16,6 +16,7 @@ Emitter::Emitter(
|
||||
texture(texture),
|
||||
spawnInterval(spawnInterval),
|
||||
count(count) {
|
||||
this->prototype.emitter = this;
|
||||
}
|
||||
|
||||
const Texture* Emitter::getTexture() const {
|
||||
|
||||
Reference in New Issue
Block a user