Skip to content

Commit

Permalink
- Adding missing breaks that prevented from having different animatio…
Browse files Browse the repository at this point in the history
…n types (#7)
  • Loading branch information
yombunker authored and uDevel committed Jul 24, 2017
1 parent 405c4ff commit a6b1f8d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,19 @@ public void setAnimationOrder(@Order int animationOrder) {
switch (animationOrder) {
case Order.CIRCULAR:
sequenceGenerator = new CircularSequenceGenerator();
break;
case Order.LAST_FIRST:
sequenceGenerator = new ReverseSequenceGenerator();
break;
case Order.RANDOM_NO_REPETITION:
sequenceGenerator = new RandomNoRepetitionSequenceGenerator();
break;
case Order.SEQUENCE:
sequenceGenerator = new InSequenceGenerator();
break;
case Order.RANDOM:
sequenceGenerator = new RandomSequenceGenerator();
break;
}
}
}

0 comments on commit a6b1f8d

Please sign in to comment.