6 #include "special/sprite_manager.h"
7 #include "object_factory.h"
10 InfoBlock::InfoBlock(const lisp::Lisp& lisp)
11 : Block(sprite_manager->create("bonusblock"))
18 if(!lisp.get("message", message)) {
19 std::cerr << "No message in InfoBlock!\n";
23 InfoBlock::~InfoBlock()
28 InfoBlock::hit(Player& )
30 GameSession::current()->display_info_box(message);
34 IMPLEMENT_FACTORY(InfoBlock, "infoblock")