// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
-
#include <config.h>
-#include "bomb.h"
+#include "bomb.hpp"
static const float TICKINGTIME = 1;
static const float EXPLOSIONTIME = 1;
start_position = pos;
bbox.set_pos(pos);
bbox.set_size(31.8, 31.8);
- sprite = sprite_manager->create("bomb");
+ sprite = sprite_manager->create("images/creatures/mr_bomb/bomb.sprite");
state = 0;
timer.start(TICKINGTIME);
this->dir = dir;
{
state = 1;
sprite->set_action("explosion");
- sound_manager->play("explosion", get_pos());
+ sound_manager->play("sounds/explosion.wav", get_pos());
timer.start(EXPLOSIONTIME);
}