diff options
| author | ilotterytea <iltsu@alright.party> | 2024-11-03 23:22:10 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-11-03 23:22:10 +0500 |
| commit | c43cf4c902c10637f0bf92e2de64028a5165f12c (patch) | |
| tree | c02cbd120ffb262554c7fd2ca2f83087b46312c4 /core/src/kz/ilotterytea/maxon/ui | |
| parent | 8d09fe776b37e56a890aea8a2f7e87d0697a2af4 (diff) | |
upd: intro
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/ui')
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/ui/MovingChessBackground.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/kz/ilotterytea/maxon/ui/MovingChessBackground.java b/core/src/kz/ilotterytea/maxon/ui/MovingChessBackground.java index 3ae73c6..74a9299 100644 --- a/core/src/kz/ilotterytea/maxon/ui/MovingChessBackground.java +++ b/core/src/kz/ilotterytea/maxon/ui/MovingChessBackground.java @@ -7,7 +7,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; -import java.util.Arrays; import java.util.List; public class MovingChessBackground { @@ -33,10 +32,10 @@ public class MovingChessBackground { float velocityY, float screenWidth, float screenHeight, - Drawable... drawables + ArrayList<Drawable> drawables ) { this.tiles = new ArrayList<>(); - this.drawables = Arrays.asList(drawables); + this.drawables = drawables; this.velocityX = velocityX; this.velocityY = velocityY; |
