/* shockwave.m,
 *
 * A fast ripple of constructive interference.  An enemy projectile.
 */

#include "common.h"
#include "projectiles/shockwave.h"
#include "seborrhea/seborrhea.h"


static SebFile *shockwave_sebum;


@implementation Shockwave
+ initialize { REGISTER_PROJECTILE(self); return self; }
+ derive_loadDataProjectile(shockwave_sebum, "data/proj-shockwave");
+ derive_shutdownProjectile(shockwave_sebum);

- init
{
    [super init];

    speed = 7.5;

    sprite = [shockwave_sebum getSebumByName:"shockwave"];
    w = [sprite width];
    h = [sprite height];
    rotatable_sprite = YES;

    return self;
}
@end
