mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-25 22:58:47 +07:00
More bugfixes
This commit is contained in:
parent
cd456f80a4
commit
ed88633712
@ -1,6 +1,7 @@
|
||||
package io.anuke.mindustry.ui.fragments;
|
||||
|
||||
import io.anuke.arc.function.*;
|
||||
import io.anuke.arc.graphics.*;
|
||||
import io.anuke.arc.scene.Group;
|
||||
import io.anuke.arc.scene.actions.*;
|
||||
import io.anuke.arc.scene.event.Touchable;
|
||||
@ -57,6 +58,7 @@ public class LoadingFragment extends Fragment{
|
||||
}
|
||||
|
||||
public void show(String text){
|
||||
table.<Label>find("namelabel").setColor(Color.white);
|
||||
bar.visible(false);
|
||||
table.clearActions();
|
||||
table.touchable(Touchable.enabled);
|
||||
|
@ -76,7 +76,9 @@ public enum SAchievement{
|
||||
}
|
||||
|
||||
public void checkCompletion(){
|
||||
//TODO
|
||||
if(!isAchieved() && stat != null && stat.get() >= statGoal){
|
||||
complete();
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isAchieved(){
|
||||
|
Loading…
Reference in New Issue
Block a user