aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/ParticleSystem.h
blob: 3ac1d3f7aaccbd184383822b56f0f20edb7e9cd0 (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