v3.2.0: wndGuess now shows the item to guess in the title, not stone
This commit is contained in:
@@ -99,14 +99,14 @@ public class StoneOfIntuition extends InventoryStone {
|
||||
public WndGuess(final Item item){
|
||||
|
||||
IconTitle titlebar = new IconTitle();
|
||||
titlebar.icon( new ItemSprite(ItemSpriteSheet.STONE_INTUITION, null) );
|
||||
titlebar.label( Messages.titleCase(Messages.get(StoneOfIntuition.class, "name")) );
|
||||
titlebar.icon( new ItemSprite(item) );
|
||||
titlebar.label( Messages.titleCase(item.name()) );
|
||||
titlebar.setRect( 0, 0, WIDTH, 0 );
|
||||
add( titlebar );
|
||||
|
||||
RenderedTextBlock text = PixelScene.renderTextBlock(6);
|
||||
text.text( Messages.get(this, "text") );
|
||||
text.setPos(0, titlebar.bottom());
|
||||
text.setPos(0, titlebar.bottom()+2);
|
||||
text.maxWidth( WIDTH );
|
||||
add(text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user