27 lines
428 B
Java
27 lines
428 B
Java
/*
|
|
* Copyright (c) 2017 univento.eu - All rights reserved
|
|
* You are not allowed to use, distribute or modify this code
|
|
*/
|
|
|
|
package eu.univento.core.api.entity.pathfinding;
|
|
|
|
/**
|
|
* @author Adamk11s
|
|
* @version 1.0
|
|
*/
|
|
public enum PathingResult {
|
|
|
|
SUCCESS(0),
|
|
NO_PATH(-1);
|
|
|
|
private final int ec;
|
|
|
|
PathingResult(int ec){
|
|
this.ec = ec;
|
|
}
|
|
|
|
public int getEndCode(){
|
|
return this.ec;
|
|
}
|
|
|
|
} |