29 lines
396 B
C++
29 lines
396 B
C++
#ifndef IMPACT_H
|
|
#define IMPACT_H
|
|
|
|
#include <azur/azur.h>
|
|
#include <azur/gint/render.h>
|
|
|
|
#include <cstdint>
|
|
#include <stdlib.h>
|
|
|
|
|
|
class Impact
|
|
{
|
|
public:
|
|
Impact( uint16_t _x, uint16_t _y );
|
|
~Impact();
|
|
|
|
void Update( float dt );
|
|
void Render( void );
|
|
|
|
uint16_t x, y;
|
|
bool toberemoved;
|
|
|
|
|
|
private:
|
|
uint8_t framecount;
|
|
};
|
|
|
|
|
|
#endif |