blob: ad96eb05e0afb44fe8e1b96d04a8e5b59cdf5e30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "api/ParticleEmitter.h"
namespace crepe {
class ParticleSystem {
public:
ParticleSystem();
void update();
private:
void emit_particle(ParticleEmitter & emitter); //emits a new particle
float elapsed_time; //elapsed time since the last emission
};
} // namespace crepe
|