4 #include "specialriser.h"
9 #include "app/globals.h"
10 #include "special/sprite_manager.h"
12 SpecialRiser::SpecialRiser(MovingObject* _child)
18 SpecialRiser::~SpecialRiser()
23 SpecialRiser::action(float elapsed_time)
25 offset += 50 * elapsed_time;
27 Sector::current()->add_object(child);
33 SpecialRiser::draw(DrawingContext& context)
35 context.push_transform();
36 context.set_translation(
37 context.get_translation() + Vector(0, -32 + offset));
39 context.pop_transform();