From 241ec4efe3113f549fb4f518a65e51b2528c33bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 23 Feb 2017 14:00:48 +0100 Subject: delete loading/LoadingBar.java --- .../ch/asynk/rustanddust/loading/LoadingBar.java | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 core/src/ch/asynk/rustanddust/loading/LoadingBar.java diff --git a/core/src/ch/asynk/rustanddust/loading/LoadingBar.java b/core/src/ch/asynk/rustanddust/loading/LoadingBar.java deleted file mode 100644 index 5a6181a..0000000 --- a/core/src/ch/asynk/rustanddust/loading/LoadingBar.java +++ /dev/null @@ -1,32 +0,0 @@ -package ch.asynk.rustanddust.loading; - -import com.badlogic.gdx.graphics.g2d.Animation; -import com.badlogic.gdx.graphics.g2d.Batch; -import com.badlogic.gdx.graphics.g2d.TextureRegion; -import com.badlogic.gdx.scenes.scene2d.Actor; - -public class LoadingBar extends Actor -{ - Animation animation; - TextureRegion reg; - float stateTime; - - public LoadingBar(Animation animation) - { - this.animation = animation; - reg = animation.getKeyFrame(0); - } - - @Override - public void act(float delta) - { - stateTime += delta; - reg = animation.getKeyFrame(stateTime); - } - - @Override - public void draw(Batch batch, float parentAlpha) - { - batch.draw(reg, getX(), getY()); - } -} -- cgit v1.1-2-g2b99