Fixed Mark rounding Algorithm

Algorithm now knows when a player has to round a gate or just pass right through

#story[1124] #pair[wmu16, hyi25]
This commit is contained in:
William Muir
2017-08-10 12:07:47 +12:00
parent 249ad9e5c0
commit 87f2f1fe63
2 changed files with 10 additions and 0 deletions
@@ -42,6 +42,9 @@ public class MarkOrderTest {
@Test
public void testGetNextMark() {
currentSeqID = 4;
for (CompoundMark mark : markOrder.getMarkOrder()) {
System.out.println(mark.getName());
}
CompoundMark nextMark = markOrder.getMarkOrder().get(4 + 1);
assertEquals(nextMark, markOrder.getNextMark(currentSeqID));