From 104ed62d7e99afbaead936a7ead7e16edac2380c Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 4 Sep 2022 22:56:25 +0600 Subject: будет в будущем MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/com/ilotterytea/maxoning/ui/SaveSlot.java | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 core/src/com/ilotterytea/maxoning/ui/SaveSlot.java (limited to 'core/src/com/ilotterytea/maxoning') diff --git a/core/src/com/ilotterytea/maxoning/ui/SaveSlot.java b/core/src/com/ilotterytea/maxoning/ui/SaveSlot.java deleted file mode 100644 index 4b413a9..0000000 --- a/core/src/com/ilotterytea/maxoning/ui/SaveSlot.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.ilotterytea.maxoning.ui; - -import com.badlogic.gdx.graphics.g2d.NinePatch; -import com.badlogic.gdx.scenes.scene2d.Stage; -import com.badlogic.gdx.scenes.scene2d.ui.Image; -import com.badlogic.gdx.scenes.scene2d.ui.Label; -import com.badlogic.gdx.scenes.scene2d.ui.Skin; -import com.badlogic.gdx.scenes.scene2d.ui.Stack; -import com.rafaskoberg.gdx.typinglabel.TypingLabel; - -public class SaveSlot extends Stack { - public SaveSlot( - Skin skin, - NinePatch ninePatch, - float x, float y, - float width, float height, - CharSequence text - ) { - Image img = new Image(ninePatch); - TypingLabel label = new TypingLabel(text, skin); - - img.setPosition(x, y); - img.setSize(width, height); - - label.setPosition(img.getWidth() / 2, img.getHeight() / 2); - - super.add(img); - super.add(label); - } -} -- cgit v1.2.3