+++ /dev/null
-#include <config.h>
-
-#include "invisible_tile.h"
-#include "resources.h"
-#include "special/sprite.h"
-#include "special/sprite_manager.h"
-#include "video/drawing_context.h"
-
-InvisibleTile::InvisibleTile(const Vector& pos)
- : Block(pos, sprite_manager->create("invisibleblock")), visible(false)
-{
- flags |= FLAG_SOLID;
-}
-
-void
-InvisibleTile::draw(DrawingContext& )
-{
-}
-
-void
-InvisibleTile::hit(Player& )
-{
-}
-
+++ /dev/null
-#ifndef __INBUMPABLE_BLOCK_H__
-#define __INBUMPABLE_BLOCK_H__
-
-#include "block.h"
-
-class InvisibleTile : public Block
-{
-public:
- InvisibleTile(const Vector& pos);
-
- virtual void draw(DrawingContext& context);
-
-protected:
- virtual void hit(Player& player);
-
-private:
- bool visible;
-};
-
-#endif
-
#include "object/coin.h"
#include "object/block.h"
#include "object/invisible_block.h"
-#include "object/invisible_tile.h"
#include "object/platform.h"
#include "object/bullet.h"
#include "badguy/jumpy.h"
if(tile->getID() == 112) {
add_object(new InvisibleBlock(pos));
solids->change(x, y, 0);
- } else if(tile->getID() == 1311) {
- add_object(new InvisibleTile(pos));
- solids->change(x, y, 0);
} else if(tile->getID() == 295) {
add_object(new Spike(pos, Spike::NORTH));
solids->change(x, y, 0);