diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/src/com/ilotterytea/maxoning/utils/AssetLoading.java | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/core/src/com/ilotterytea/maxoning/utils/AssetLoading.java b/core/src/com/ilotterytea/maxoning/utils/AssetLoading.java index 4a713ae..764e7b2 100644 --- a/core/src/com/ilotterytea/maxoning/utils/AssetLoading.java +++ b/core/src/com/ilotterytea/maxoning/utils/AssetLoading.java @@ -3,6 +3,10 @@ package com.ilotterytea.maxoning.utils; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.graphics.Texture; +import com.ilotterytea.maxoning.anim.SpriteUtils; +import com.ilotterytea.maxoning.player.MaxonItemEnum; +import com.ilotterytea.maxoning.player.MaxonItemRegister; +import com.ilotterytea.maxoning.ui.AnimatedImage; public class AssetLoading { public static void queue(AssetManager am) { @@ -34,4 +38,46 @@ public class AssetLoading { am.load("mus/menu/mus_menu_loop.ogg", Music.class); // Sounds: } + + public static void registerItems(AssetManager am) { + MaxonItemRegister.register( + 0, "The Suspicious and Sleepy Bro", "A falling asleep Bror will help you to pet Maxon almost to besvimers.", + new AnimatedImage(SpriteUtils.splitToTextureRegions(am.get("sprites/sheet/bror.png", Texture.class), 112, 112, 11, 7)), + MaxonItemEnum.SLAVE, + 300, + 0.1f + ); + + MaxonItemRegister.register( + 1, "The Sandwich Cat", "Even though his head is shielded from the light by bread, he can still to pet Maxon by his cheeks", + new AnimatedImage(SpriteUtils.splitToTextureRegions(am.get("sprites/sheet/sandwich_cat.png", Texture.class), 112, 112, 4, 7)), + MaxonItemEnum.SLAVE, + 2000, + 0.5f + ); + + MaxonItemRegister.register( + 2, "Manlooshka", "rrrrr", + new AnimatedImage(SpriteUtils.splitToTextureRegions(am.get("sprites/sheet/manlooshka.png", Texture.class), 112, 112, 10, 4)), + MaxonItemEnum.SLAVE, + 6200, + 1f + ); + + MaxonItemRegister.register( + 3, "The Thirsty Cat", "Every time the kitty drinks water, drops of spilled water fall on the screen and pet Maxon's dry cheeks.", + new AnimatedImage(SpriteUtils.splitToTextureRegions(am.get("sprites/sheet/thirsty_cat.png", Texture.class), 112, 112, 6, 3)), + MaxonItemEnum.SLAVE, + 10000, + 1.5f + ); + + MaxonItemRegister.register( + 4, "The Furios Cat", "Petting FURIOSLY !!!", + new AnimatedImage(SpriteUtils.splitToTextureRegions(am.get("sprites/sheet/furios_cat.png", Texture.class), 112, 112, 7, 4)), + MaxonItemEnum.SLAVE, + 20000, + 5f + ); + } } |
