return movementType;
int moveType = movementType;    if (!isLegalEndPos() && isEndPos) { moveType = Entity.MOVE_ILLEGAL; } return moveType;
    public int getMovementType() {        return movementType;    }