Shmup/src/particles.h

21 lines
356 B
C++

#ifndef PARTICLES_H
#define PARTICLES_H
#include <cstdint>
class Particle
{
public:
Particle( uint16_t lx, uint16_t ly );
~Particle();
void Update( float dt );
void Render();
uint16_t x, y;
float sx, sy;
float age, maxage;
float size;
bool toberemoved;
};
#endif //PARTICLES_H