2011-08-15 16:11:24 +02:00
|
|
|
#include "effect.h"
|
2011-08-15 21:15:49 +02:00
|
|
|
#include "datmanager.h"
|
2011-08-15 16:11:24 +02:00
|
|
|
|
|
|
|
Effect::Effect()
|
|
|
|
{
|
|
|
|
m_type = Thing::TYPE_EFFECT;
|
|
|
|
}
|
|
|
|
|
2011-08-15 21:15:49 +02:00
|
|
|
const ThingAttributes& Effect::getAttributes()
|
2011-08-15 16:11:24 +02:00
|
|
|
{
|
2011-08-15 21:15:49 +02:00
|
|
|
return g_dat.getEffectAttributes(m_id);
|
2011-08-15 16:11:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void Effect::draw(int x, int y)
|
|
|
|
{
|
|
|
|
int anim = 0;
|
|
|
|
internalDraw(x, y, 0, 0, 0, 0, anim);
|
|
|
|
}
|