From 868ebdb4fc3116af095dcd1ea0685fa6c517ddfe Mon Sep 17 00:00:00 2001 From: Mario Morgenthum Date: Sat, 30 Nov 2024 19:52:58 +0100 Subject: [PATCH] feat(bevy): Upgrade to bevy 0.15 (#106) --- Cargo.toml | 4 +- examples/custom_measure.rs | 4 +- examples/farming_sim.rs | 87 ++++++++++++++++---------------------- examples/sequence.rs | 6 +-- src/actions.rs | 6 +-- src/choices.rs | 2 +- src/scorers.rs | 12 +++--- 7 files changed, 54 insertions(+), 67 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ed10070..6632bde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,11 +15,11 @@ homepage = "https://github.com/zkat/big-brain" [workspace] [dependencies] -bevy = { version = "0.14.0", default-features = false } +bevy = { version = "0.15.0", default-features = false } big-brain-derive = { version = "=0.21.1", path = "./derive" } [dev-dependencies] -bevy = { version = "0.14.0", default-features = true } +bevy = { version = "0.15.0", default-features = true } rand = { version = "0.8.5", features = ["small_rng"] } [features] diff --git a/examples/custom_measure.rs b/examples/custom_measure.rs index aa61971..0d9378c 100644 --- a/examples/custom_measure.rs +++ b/examples/custom_measure.rs @@ -34,7 +34,7 @@ pub struct Pancakes(pub f32); pub struct Waffles(pub f32); pub fn eat_dessert(time: Res