Activate cheating
[troll.git] / src / main / java / com / codingame / game / View.java
index 0820190..38548dc 100644 (file)
@@ -345,6 +345,18 @@ class View {
                 .setSkewX((random.nextDouble() - 0.5) /4)
                 .setSkewY((random.nextDouble() - 0.5) /8);
         }
+
+        // base png: 514×387
+        Sprite f7u12 = graphicEntityModule.createSprite()
+            .setImage("f7u12.png")
+            .setX(1920 / 2)
+            .setY(1080 / 2)
+            .setAnchorX(0.5)
+            .setAnchorY(0.5)
+            .setBaseWidth(514*1080/387)
+            .setBaseHeight(1080)
+            .setZIndex(200);
+        pantsModule.displayOnToggleState(f7u12, "troll", true);
     }
 
     enum TrollRace {