This commit is contained in:
Leijurv 2018-08-06 08:34:08 -07:00
parent 0f37e214aa
commit d884c2dea8
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -67,6 +67,8 @@ public class MovementAscend extends Movement {
public MovementState updateState(MovementState state) {
super.updateState(state);
System.out.println("Ticking with state " + state.getStatus());
// TODO incorporate some behavior from ActionClimb (specifically how it waited until it was at most 1.2 blocks away before starting to jump
// for efficiency in ascending minimal height staircases, which is just repeated MovementAscend, so that it doesn't bonk its head on the ceiling repeatedly)
switch (state.getStatus()) {
case PREPPING:
case UNREACHABLE: