v1.1.0: scroll of polymorph reworked into scroll of metamorphosis

This commit is contained in:
Evan Debenham
2021-11-28 21:20:03 -05:00
parent fea3cc4473
commit 816d5fcd0e
20 changed files with 473 additions and 122 deletions

View File

@@ -154,6 +154,10 @@ public class Visual extends Gizmo {
y + (height() - v.height())/2f
);
}
public void originToCenter() {
origin.set(width / 2, height / 2);
}
public float width() {
return width * scale.x;

View File

@@ -39,6 +39,7 @@ import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Set;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
@@ -71,6 +72,10 @@ public class Bundle {
public boolean contains( String key ) {
return !data.isNull( key );
}
public Set<String> getKeys(){
return data.keySet();
}
public boolean getBoolean( String key ) {
return data.optBoolean( key );