v0.3.4a: re-added align methods pt.2
Also moved rendered text multiline into the core game
This commit is contained in:
committed by
Evan Debenham
parent
ac9c50f2ac
commit
b110c0db8c
@@ -212,9 +212,11 @@ public class TitleScene extends PixelScene {
|
||||
|
||||
image.x = x + (width - image.width()) / 2;
|
||||
image.y = y;
|
||||
align(image);
|
||||
|
||||
label.x = x + (width - label.width()) / 2;
|
||||
label.y = image.y + image.height() +2;
|
||||
align(label);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user