v0.4.3c: added a tiny visual effect to worn traps

This commit is contained in:
Evan Debenham 2016-11-06 16:41:24 -05:00
parent d9818f3a1a
commit 223a84a67e

View File

@ -20,6 +20,8 @@
*/ */
package com.shatteredpixel.shatteredpixeldungeon.levels.traps; package com.shatteredpixel.shatteredpixeldungeon.levels.traps;
import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter;
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
@ -38,6 +40,7 @@ public class WornTrap extends Trap {
@Override @Override
public void activate() { public void activate() {
CellEmitter.get(pos).burst(Speck.factory(Speck.STEAM), 6);
GLog.i( Messages.get(this, "nothing") ); GLog.i( Messages.get(this, "nothing") );
} }
} }