Launch animation

This commit is contained in:
Anuken
2020-06-01 23:17:55 -04:00
parent 69d0751e65
commit 789cc3cdb9
12 changed files with 136 additions and 14 deletions

View File

@@ -128,7 +128,7 @@ public class GlobalData{
/** Returns whether or not this piece of content is unlocked yet. */
public boolean isUnlocked(UnlockableContent content){
return content.alwaysUnlocked() || unlocked.contains(content.name);
return content.alwaysUnlocked || unlocked.contains(content.name);
}
/**
@@ -137,7 +137,7 @@ public class GlobalData{
* Results are not saved until you call {@link #save()}.
*/
public void unlockContent(UnlockableContent content){
if(content.alwaysUnlocked()) return;
if(content.alwaysUnlocked) return;
//fire unlock event so other classes can use it
if(unlocked.add(content.name)){