Anim Editor: added play functionality to battle and editor

This commit is contained in:
Maruno17
2024-04-13 16:28:52 +01:00
parent d0e15a8939
commit 44cc500fdc
15 changed files with 1221 additions and 175 deletions

View File

@@ -0,0 +1,26 @@
#===============================================================================
#
#===============================================================================
class AnimationPlayer::FakeBattler
attr_reader :index
attr_reader :pokemon
def initialize(index, species, form = 0, gender = 0)
@index = index
@pokemon = AnimationPlayer::FakePokemon.new(species, form, gender)
end
end
#===============================================================================
#
#===============================================================================
class AnimationPlayer::FakePokemon
attr_reader :species, :form, :gender
def initialize(species, form = 0, gender = 0)
# NOTE: species will be a string, but it doesn't need to be a symbol.
@species = species
@form = form
@gender = gender
end
end