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 sprite (used out of battle)
#===============================================================================
class PokemonSprite < SpriteWrapper
class PokemonSprite < Sprite
def initialize(viewport = nil)
super(viewport)
@_iconbitmap = nil
@@ -82,7 +82,7 @@ end
#===============================================================================
# Pokémon icon (for defined Pokémon)
#===============================================================================
class PokemonIconSprite < SpriteWrapper
class PokemonIconSprite < Sprite
attr_accessor :selected
attr_accessor :active
attr_reader :pokemon
@@ -217,7 +217,7 @@ end
#===============================================================================
# Pokémon icon (for species)
#===============================================================================
class PokemonSpeciesIconSprite < SpriteWrapper
class PokemonSpeciesIconSprite < Sprite
attr_reader :species
attr_reader :gender
attr_reader :form