/*
 * Pixel Dungeon
 * Copyright (C) 2012-2015 Oleg Dolya
 *
 * Shattered Pixel Dungeon
 * Copyright (C) 2014-2016 Evan Debenham
 *
 * Lovecraft Pixel Dungeon
 * Copyright (C) 2016-2017 Leon Horn
 *
 * Plugin Pixel Dungeon
 * Copyright (C) 2017 Leon Horn
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This Program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without eben the implied warranty of
 * GNU General Public License for more details.
 *
 * You should have have received a copy of the GNU General Public License
 *  along with this program. If not, see <http://www.gnu.org/licenses>
 */

package com.pluginpixel.pluginpixeldungeon.levels.traps;

import com.pluginpixel.pluginpixeldungeon.Dungeon;
import com.pluginpixel.pluginpixeldungeon.actors.blobs.Blob;
import com.pluginpixel.pluginpixeldungeon.actors.blobs.VenomGas;
import com.pluginpixel.pluginpixeldungeon.scenes.GameScene;

public class VenomTrap extends Trap {

	{
		color = VIOLET;
		shape = GRILL;
	}

	@Override
	public void activate() {

		VenomGas venomGas = Blob.seed(pos, 80 + 5 * Dungeon.depth, VenomGas.class);

		venomGas.setStrength(1+Dungeon.depth/4);

		GameScene.add(venomGas);

	}
}
