18 lines
656 B
Java
18 lines
656 B
Java
package evironment.antGame;
|
|
|
|
public class Reward {
|
|
public static final double DEFAULT_REWARD = -1;
|
|
public static final double FOOD_PICK_UP_SUCCESS = 0;
|
|
public static final double FOOD_PICK_UP_FAIL_NO_FOOD = -2;
|
|
public static final double FOOD_PICK_UP_FAIL_HAS_FOOD_ALREADY = -2;
|
|
|
|
public static final double FOOD_DROP_DOWN_FAIL_NO_FOOD = -2;
|
|
public static final double FOOD_DROP_DOWN_FAIL_NOT_START = -2;
|
|
public static final double FOOD_DROP_DOWN_SUCCESS = 1;
|
|
|
|
public static final double UNKNOWN_FIELD_EXPLORED = 0;
|
|
|
|
public static final double RAN_INTO_WALL = -2;
|
|
public static final double RAN_INTO_OBSTACLE = -2;
|
|
}
|