+ private void destroyPlayer(Player player) {
+ player.avatar.setRotation(170*Math.PI/180, Curve.ELASTIC);
+
+ graphicEntityModule.commitEntityState(0.5, player.castle);
+ player.castle.setX(player.castle.getX(), Curve.ELASTIC);
+ player.castle.setScaleY(-0.2, Curve.EASE_IN);
+ }
+