@Override
	void btick() {
		if(state){
			BlockDoorOpen block = new BlockDoorOpen(level);
			block.x = x;
			block.y = y;
			if(this.getClass().isInstance(level.blocksForeground[x/width][y/height+1])){
				BlockDoorClosed bl = (BlockDoorClosed) level.blocksForeground[x/width][y/height+1];
				bl.activate();
			} else if(this.getClass().isInstance(level.blocksForeground[x/width][y/height-1])){
				BlockDoorClosed bl = (BlockDoorClosed) level.blocksForeground[x/width][y/height-1];
				bl.activate();
			}
			level.blocksForeground[x/width][y/height]= block;
		}
		setCollidable(!state);
	}