+
+ void init() {
+ drawBackground();
+ drawTroll();
+ }
+
+ private void drawBackground() {
+ graphicEntityModule.createSprite()
+ .setImage("background.png")
+ .setAnchor(0);
+ }
+
+ private void drawTroll() {
+ troll = graphicEntityModule.createSprite()
+ .setImage("troll.png")
+ .setAnchorX(0.5)
+ .setAnchorY(1)
+ .setX(1920/2)
+ .setY(880)
+ .setZIndex(2);
+ trollPositionGauge = graphicEntityModule.createText()
+ .setZIndex(2)
+ .setAnchor(0.5)
+ .setFontSize(40)
+ .setX(1980/2)
+ .setY(980)
+ .setFillColor(0xffffff);
+ }
+