summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-02-23 14:00:48 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-02-23 14:00:48 +0100
commit241ec4efe3113f549fb4f518a65e51b2528c33bc (patch)
treed058ced1734ac7042c8b7aee54b8a23146c59a79 /core/src/ch/asynk/rustanddust
parent1c2c93eba8c84e22b22f3b2c2f1704633dd6e6ab (diff)
downloadRustAndDust-241ec4efe3113f549fb4f518a65e51b2528c33bc.zip
RustAndDust-241ec4efe3113f549fb4f518a65e51b2528c33bc.tar.gz
delete loading/LoadingBar.java
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/loading/LoadingBar.java32
1 files changed, 0 insertions, 32 deletions
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());
- }
-}