api: Add low level control methods for the login screen background

This commit is contained in:
unknown
2022-02-20 17:24:33 +01:00
parent c7bf6faff6
commit 052ead562f
2 changed files with 30 additions and 0 deletions

View File

@@ -2270,6 +2270,16 @@ public interface Client extends GameEngine
*/
void setLoginScreen(SpritePixels pixels);
/**
* Low level control over the login screen background.
* Useful when changing the login screen background every frame, for example for playing a video.
* A typical update cycle would be:
* 1. setLoginScreenBackground(pixels) 2. setLoginScreenLeftTitleSprite() 3. setLoginScreenRightTitleSprite()
*/
void setLoginScreenBackground(SpritePixels pixels);
void setLoginScreenLeftTitleSprite();
void setLoginScreenRightTitleSprite();
/**
* Sets whether the flames on the login screen should be rendered
*/