Skip to content
Snippets Groups Projects
Commit c6167d86 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko
Browse files

#150 Added animation on wrong flower.

parent a2d8ac04
Branches
Tags
No related merge requests found
......@@ -157,6 +157,7 @@ public class ShootingRangeGame extends AbstractTablexiaGame<GameState> {
}
} else {
sfxLibrary.getSound(SoundType.WRONG).play();
target.addAction(Actions.sequence(Actions.color(Color.RED,0.1f),Actions.color(target.getColor(),0.1f),Actions.color(Color.RED,0.1f),Actions.color(target.getColor(),0.1f),Actions.color(Color.RED,0.1f),Actions.color(target.getColor(),0.1f)));
getData().addWrongTarget();
setGameScore(Properties.SCORE_ERRORS, getData().getWrongTargets());
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment