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

@@ -173,7 +173,7 @@ class TriadScene
"", 0, Graphics.height - 64, Graphics.width, 64, @viewport
)
(@battle.width * @battle.height).times do |i|
@sprites["sprite#{i}"] = SpriteWrapper.new(@viewport)
@sprites["sprite#{i}"] = Sprite.new(@viewport)
@sprites["sprite#{i}"].x = (Graphics.width / 2) - 118 + ((i % 3) * 78)
@sprites["sprite#{i}"].y = 36 + ((i / 3) * 94)
@sprites["sprite#{i}"].z = 2