protected void splash( int cell ) { Fire fire = (Fire)Dungeon.level.blobs.get( Fire.class ); if (fire != null) fire.clear( cell ); final int color = splashColor(); Char ch = Actor.findChar(cell); if (ch != null) { Buff.detach(ch, Burning.class); Buff.detach(ch, Ooze.class); Splash.at( ch.sprite.center(), color, 5 ); } else { Splash.at( cell, color, 5 ); } }
protected void splash( int cell ) { Fire fire = (Fire)Dungeon.level.blobs.get( Fire.class ); if (fire != null) fire.clear( cell ); final int color = splashColor(); Char ch = Actor.findChar(cell); if (ch != null) { Buff.detach(ch, Burning.class); Buff.detach(ch, Ooze.class); Splash.at( ch.sprite.center(), color, 5 ); } else { Splash.at( cell, color, 5 ); } }