Removed all uses of SpriteWrapper (#184)

This commit is contained in:
Golisopod-User
2022-06-19 22:17:23 +05:30
committed by GitHub
parent 8b3d95943a
commit ad93eb7774
25 changed files with 50 additions and 61 deletions

View File

@@ -1,7 +1,7 @@
#===============================================================================
# Pokémon party buttons and menu
#===============================================================================
class PokemonPartyConfirmCancelSprite < SpriteWrapper
class PokemonPartyConfirmCancelSprite < Sprite
attr_reader :selected
def initialize(text, x, y, narrowbox = false, viewport = nil)
@@ -133,7 +133,7 @@ end
#===============================================================================
# Blank party panel
#===============================================================================
class PokemonPartyBlankPanel < SpriteWrapper
class PokemonPartyBlankPanel < Sprite
attr_accessor :text
def initialize(_pokemon, index, viewport = nil)
@@ -162,7 +162,7 @@ end
#===============================================================================
# Pokémon party panel
#===============================================================================
class PokemonPartyPanel < SpriteWrapper
class PokemonPartyPanel < Sprite
attr_reader :pokemon
attr_reader :active
attr_reader :selected