feat: Implement crop withering mechanics (#28)
This commit is contained in:
@@ -95,6 +95,8 @@ fn test_find_path_around_obstacle() {
|
||||
},
|
||||
watered: false,
|
||||
growth_stage: 0,
|
||||
withered: false,
|
||||
dry_counter: 0,
|
||||
};
|
||||
let obstacles = vec![
|
||||
(2, 2, obstacle.clone()),
|
||||
@@ -148,6 +150,8 @@ fn test_find_path_no_path() {
|
||||
},
|
||||
watered: false,
|
||||
growth_stage: 0,
|
||||
withered: false,
|
||||
dry_counter: 0,
|
||||
};
|
||||
let obstacles = vec![
|
||||
(2, 0, obstacle.clone()),
|
||||
|
||||
Reference in New Issue
Block a user