v0.9.0: added an icon to represent talents, tweaked test subject icon
This commit is contained in:
parent
c14a098fa2
commit
e2a7bea5e6
Binary file not shown.
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Binary file not shown.
Before Width: | Height: | Size: 869 B After Width: | Height: | Size: 868 B |
|
@ -359,29 +359,25 @@ public class HeroSelectScene extends PixelScene {
|
||||||
case WARRIOR: default:
|
case WARRIOR: default:
|
||||||
tabIcons = new Image[]{
|
tabIcons = new Image[]{
|
||||||
new ItemSprite(ItemSpriteSheet.SEAL, null),
|
new ItemSprite(ItemSpriteSheet.SEAL, null),
|
||||||
new ItemSprite(ItemSpriteSheet.WORN_SHORTSWORD, null),
|
new ItemSprite(ItemSpriteSheet.WORN_SHORTSWORD, null)
|
||||||
new ItemSprite(ItemSpriteSheet.ARMOR_WARRIOR, null)
|
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case MAGE:
|
case MAGE:
|
||||||
tabIcons = new Image[]{
|
tabIcons = new Image[]{
|
||||||
new ItemSprite(ItemSpriteSheet.MAGES_STAFF, null),
|
new ItemSprite(ItemSpriteSheet.MAGES_STAFF, null),
|
||||||
new ItemSprite(ItemSpriteSheet.HOLDER, null),
|
new ItemSprite(ItemSpriteSheet.HOLDER, null)
|
||||||
new ItemSprite(ItemSpriteSheet.ARMOR_MAGE, null)
|
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case ROGUE:
|
case ROGUE:
|
||||||
tabIcons = new Image[]{
|
tabIcons = new Image[]{
|
||||||
new ItemSprite(ItemSpriteSheet.ARTIFACT_CLOAK, null),
|
new ItemSprite(ItemSpriteSheet.ARTIFACT_CLOAK, null),
|
||||||
new ItemSprite(ItemSpriteSheet.DAGGER, null),
|
new ItemSprite(ItemSpriteSheet.DAGGER, null)
|
||||||
new ItemSprite(ItemSpriteSheet.ARMOR_ROGUE, null),
|
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case HUNTRESS:
|
case HUNTRESS:
|
||||||
tabIcons = new Image[]{
|
tabIcons = new Image[]{
|
||||||
new ItemSprite(ItemSpriteSheet.SPIRIT_BOW, null),
|
new ItemSprite(ItemSpriteSheet.SPIRIT_BOW, null),
|
||||||
new ItemSprite(ItemSpriteSheet.GLOVES, null),
|
new ItemSprite(ItemSpriteSheet.GLOVES, null)
|
||||||
new ItemSprite(ItemSpriteSheet.ARMOR_HUNTRESS, null)
|
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -410,7 +406,7 @@ public class HeroSelectScene extends PixelScene {
|
||||||
};
|
};
|
||||||
add(tab);
|
add(tab);
|
||||||
|
|
||||||
tab = new IconTab( tabIcons[2] ){
|
tab = new IconTab( Icons.get(Icons.TALENT) ){
|
||||||
@Override
|
@Override
|
||||||
protected void select(boolean value) {
|
protected void select(boolean value) {
|
||||||
super.select(value);
|
super.select(value);
|
||||||
|
|
|
@ -42,6 +42,7 @@ public enum Icons {
|
||||||
DISPLAY,
|
DISPLAY,
|
||||||
DATA,
|
DATA,
|
||||||
AUDIO,
|
AUDIO,
|
||||||
|
TALENT,
|
||||||
|
|
||||||
//ingame UI icons
|
//ingame UI icons
|
||||||
SKULL,
|
SKULL,
|
||||||
|
@ -125,13 +126,15 @@ public enum Icons {
|
||||||
case DISPLAY:
|
case DISPLAY:
|
||||||
icon.frame( icon.texture.uvRect( 32, 16, 45, 32 ) );
|
icon.frame( icon.texture.uvRect( 32, 16, 45, 32 ) );
|
||||||
break;
|
break;
|
||||||
//TODO UI icon?
|
|
||||||
case DATA:
|
case DATA:
|
||||||
icon.frame( icon.texture.uvRect( 48, 16, 64, 31 ) );
|
icon.frame( icon.texture.uvRect( 48, 16, 64, 31 ) );
|
||||||
break;
|
break;
|
||||||
case AUDIO:
|
case AUDIO:
|
||||||
icon.frame( icon.texture.uvRect( 64, 16, 78, 30 ) );
|
icon.frame( icon.texture.uvRect( 64, 16, 78, 30 ) );
|
||||||
break;
|
break;
|
||||||
|
case TALENT:
|
||||||
|
icon.frame( icon.texture.uvRect( 80, 16, 93, 29 ) );
|
||||||
|
break;
|
||||||
case SKULL:
|
case SKULL:
|
||||||
icon.frame( icon.texture.uvRect( 0, 32, 8, 40 ) );
|
icon.frame( icon.texture.uvRect( 0, 32, 8, 40 ) );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user