Fixed startup crash, implemented basic player animations

This commit is contained in:
Anuken
2018-03-14 23:03:27 -04:00
parent 01ba051c43
commit 0b2a933faa
18 changed files with 398 additions and 381 deletions

View File

@@ -96,11 +96,10 @@ public class PlayerListFragment implements Fragment{
button.margin(5).marginBottom(10);
Stack stack = new Stack();
BorderImage image = new BorderImage(Draw.region("mech-" + player.mech.name), 3f);
BorderImage image = new BorderImage(Draw.region(player.mech.name), 3f);
stack.add(image);
stack.add(new Element(){
public void draw(){
float s = getWidth() / 12f;