spirit/src/game/Fire.h

10 lines
295 B
C++

#include "DinamicObject.h"
class Fire: public DinamicObject
{
public:
Fire(int x, int y): DinamicObject(x, y, 128, 128, map<string, vector<SDL_Rect>>(), 5)
{
for (int i = 1; i <= 4; i++) (this->animations)[""].push_back((SDL_Rect){i*16,0,16,16});
}
};