/* spark.m,
 *
 * No matter gay or grim;
 * It's those tiny little sparks
 * daily life that makes me
 * forget my wounded heart
 */

#include "common.h"
#include "debris/spark.h"
#include "seborrhea/container-animation.h"
#include "seborrhea/container-lump.h"


static SebLump *spark_animations;


@implementation Spark
+ initialize
{
    spark_animations = (SebLump *)[base_sebum getSebumByName:"spark"];
    return self;
}

- init
{
    [super init];

    speed = 0.0;
    sprite = [[SebAnimator new] setAnimation:(SebAnimation *)[spark_animations getRandomSebum]];

    return self;
}
@end
