Shmup/src/bullet.h

23 lines
361 B
C
Raw Normal View History

2023-01-20 21:11:57 +01:00
#ifndef BULLET_H
#define BULLET_H
#include <cstdint>
#include <num/num.h>
class Bullet
{
public:
Bullet( uint16_t lx, uint16_t ly, uint8_t id );
~Bullet();
void Update( float dt );
void Render();
uint8_t ID;
libnum::num x, y;
libnum::num sx, sy;
bool toberemoved;
};
#endif //PARTICLES_H