SimpleEngine/include/simpleengine/particle/particle_property.h

26 lines
668 B
C
Raw Normal View History

2021-03-22 23:56:29 +00:00
//
// Created by SeanOMik on 3/21/2021.
// Github: https://github.com/SeanOMik
// Email: seanomik@gmail.com
//
#ifndef SIMPLEENGINE_PARTICLE_PROPERTY_H
#define SIMPLEENGINE_PARTICLE_PROPERTY_H
#include "../event.h"
#include <algorithm>
2021-03-22 23:56:29 +00:00
namespace simpleengine {
namespace particle {
class Particle;
class ParticleProperty {
public:
virtual std::unique_ptr<ParticleProperty> Clone() const = 0;
2021-03-22 23:56:29 +00:00
virtual void OnParticleSpawn(simpleengine::particle::Particle& particle) = 0;
virtual void Update(simpleengine::particle::Particle& particle) = 0;
};
}
}
#endif //SIMPLEENGINE_PARTICLE_PROPERTY_H