V0.2.1b: Corrected sprite errors in sad ghost window

This commit is contained in:
Evan Debenham 2014-10-14 16:16:18 -04:00
parent fff98d8bd1
commit 02e54f1440

View File

@ -17,9 +17,9 @@
*/ */
package com.shatteredpixel.shatteredpixeldungeon.windows; package com.shatteredpixel.shatteredpixeldungeon.windows;
import com.shatteredpixel.shatteredpixeldungeon.sprites.CrabSprite;
import com.shatteredpixel.shatteredpixeldungeon.sprites.FetidRatSprite; import com.shatteredpixel.shatteredpixeldungeon.sprites.FetidRatSprite;
import com.shatteredpixel.shatteredpixeldungeon.sprites.GnollSprite; import com.shatteredpixel.shatteredpixeldungeon.sprites.GnollTricksterSprite;
import com.shatteredpixel.shatteredpixeldungeon.sprites.GreatCrabSprite;
import com.watabou.noosa.BitmapTextMultiline; import com.watabou.noosa.BitmapTextMultiline;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
@ -62,17 +62,17 @@ public class WndSadGhost extends Window {
BitmapTextMultiline message; BitmapTextMultiline message;
switch (type){ switch (type){
case 1:default: case 1:default:
titlebar.icon( new FetidRatSprite() ); titlebar.icon( new FetidRatSprite(). );
titlebar.label( "DEFEATED FETID RAT" ); titlebar.label( "DEFEATED FETID RAT" );
message = PixelScene.createMultiline( TXT_RAT+TXT_GIVEITEM, 6 ); message = PixelScene.createMultiline( TXT_RAT+TXT_GIVEITEM, 6 );
break; break;
case 2: case 2:
titlebar.icon( new GnollSprite() ); titlebar.icon( new GnollTricksterSprite() );
titlebar.label( "DEFEATED GNOLL TRICKSTER" ); titlebar.label( "DEFEATED GNOLL TRICKSTER" );
message = PixelScene.createMultiline( TXT_GNOLL+TXT_GIVEITEM, 6 ); message = PixelScene.createMultiline( TXT_GNOLL+TXT_GIVEITEM, 6 );
break; break;
case 3: case 3:
titlebar.icon( new CrabSprite()); titlebar.icon( new GreatCrabSprite());
titlebar.label( "DEFEATED GREAT CRAB" ); titlebar.label( "DEFEATED GREAT CRAB" );
message = PixelScene.createMultiline( TXT_CRAB+TXT_GIVEITEM, 6 ); message = PixelScene.createMultiline( TXT_CRAB+TXT_GIVEITEM, 6 );
break; break;