v0.3.4c: tengu level shifting now clears all blobs

This commit is contained in:
Evan Debenham
2016-03-02 21:16:05 -05:00
parent c10666ef6e
commit 2292d71d8a
2 changed files with 12 additions and 2 deletions
@@ -20,8 +20,6 @@
*/
package com.shatteredpixel.shatteredpixeldungeon.actors.blobs;
import java.util.Arrays;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
@@ -30,6 +28,8 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.Level;
import com.shatteredpixel.shatteredpixeldungeon.utils.BArray;
import com.watabou.utils.Bundle;
import java.util.Arrays;
public class Blob extends Actor {
{
@@ -192,6 +192,12 @@ public class Blob extends Actor {
volume -= cur[cell];
cur[cell] = 0;
}
public void fullyClear(){
volume = 0;
cur = new int[LENGTH];
off = new int[LENGTH];
}
public String tileDesc() {
return null;