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:
|
||||
tabIcons = new Image[]{
|
||||
new ItemSprite(ItemSpriteSheet.SEAL, null),
|
||||
new ItemSprite(ItemSpriteSheet.WORN_SHORTSWORD, null),
|
||||
new ItemSprite(ItemSpriteSheet.ARMOR_WARRIOR, null)
|
||||
new ItemSprite(ItemSpriteSheet.WORN_SHORTSWORD, null)
|
||||
};
|
||||
break;
|
||||
case MAGE:
|
||||
tabIcons = new Image[]{
|
||||
new ItemSprite(ItemSpriteSheet.MAGES_STAFF, null),
|
||||
new ItemSprite(ItemSpriteSheet.HOLDER, null),
|
||||
new ItemSprite(ItemSpriteSheet.ARMOR_MAGE, null)
|
||||
new ItemSprite(ItemSpriteSheet.HOLDER, null)
|
||||
};
|
||||
break;
|
||||
case ROGUE:
|
||||
tabIcons = new Image[]{
|
||||
new ItemSprite(ItemSpriteSheet.ARTIFACT_CLOAK, null),
|
||||
new ItemSprite(ItemSpriteSheet.DAGGER, null),
|
||||
new ItemSprite(ItemSpriteSheet.ARMOR_ROGUE, null),
|
||||
new ItemSprite(ItemSpriteSheet.DAGGER, null)
|
||||
};
|
||||
break;
|
||||
case HUNTRESS:
|
||||
tabIcons = new Image[]{
|
||||
new ItemSprite(ItemSpriteSheet.SPIRIT_BOW, null),
|
||||
new ItemSprite(ItemSpriteSheet.GLOVES, null),
|
||||
new ItemSprite(ItemSpriteSheet.ARMOR_HUNTRESS, null)
|
||||
new ItemSprite(ItemSpriteSheet.GLOVES, null)
|
||||
};
|
||||
break;
|
||||
}
|
||||
|
@ -410,7 +406,7 @@ public class HeroSelectScene extends PixelScene {
|
|||
};
|
||||
add(tab);
|
||||
|
||||
tab = new IconTab( tabIcons[2] ){
|
||||
tab = new IconTab( Icons.get(Icons.TALENT) ){
|
||||
@Override
|
||||
protected void select(boolean value) {
|
||||
super.select(value);
|
||||
|
|
|
@ -42,6 +42,7 @@ public enum Icons {
|
|||
DISPLAY,
|
||||
DATA,
|
||||
AUDIO,
|
||||
TALENT,
|
||||
|
||||
//ingame UI icons
|
||||
SKULL,
|
||||
|
@ -125,13 +126,15 @@ public enum Icons {
|
|||
case DISPLAY:
|
||||
icon.frame( icon.texture.uvRect( 32, 16, 45, 32 ) );
|
||||
break;
|
||||
//TODO UI icon?
|
||||
case DATA:
|
||||
icon.frame( icon.texture.uvRect( 48, 16, 64, 31 ) );
|
||||
break;
|
||||
case AUDIO:
|
||||
icon.frame( icon.texture.uvRect( 64, 16, 78, 30 ) );
|
||||
break;
|
||||
case TALENT:
|
||||
icon.frame( icon.texture.uvRect( 80, 16, 93, 29 ) );
|
||||
break;
|
||||
case SKULL:
|
||||
icon.frame( icon.texture.uvRect( 0, 32, 8, 40 ) );
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user