implement function to trace left jump, thereby completing 'build-graph.sml' (and fix a bug in trace-jump.sml where a left-tracing function mistakenly made a tail call to a right-tracing function)
This commit is contained in:
@@ -91,7 +91,7 @@ struct
|
||||
val nextY = y + Constants.moveEnemyBy
|
||||
in
|
||||
shouldJumpLeft
|
||||
orelse traceRightDescent (nextX, nextY, nextPlatID, platTree)
|
||||
orelse traceLeftDescent (nextX, nextY, nextPlatID, platTree)
|
||||
end
|
||||
|
||||
fun traceLeftDrop (enemy: GameType.enemy, nextPlatID, platTree) =
|
||||
|
||||
Reference in New Issue
Block a user