From bfce0362b92139e2a90e7ae26b9ca6d5c2eb0057 Mon Sep 17 00:00:00 2001 From: rendo Date: Thu, 2 Apr 2026 13:44:15 +0500 Subject: [PATCH] Small fixes --- .../src/{wrapper => godot_wrapper}/godot_genome.rs | 0 rust-pvz-genetics/src/{wrapper => godot_wrapper}/mod.rs | 0 rust-pvz-genetics/src/{wrapper => godot_wrapper}/plant.rs | 1 + rust-pvz-genetics/src/lib.rs | 2 +- 4 files changed, 2 insertions(+), 1 deletion(-) rename rust-pvz-genetics/src/{wrapper => godot_wrapper}/godot_genome.rs (100%) rename rust-pvz-genetics/src/{wrapper => godot_wrapper}/mod.rs (100%) rename rust-pvz-genetics/src/{wrapper => godot_wrapper}/plant.rs (99%) diff --git a/rust-pvz-genetics/src/wrapper/godot_genome.rs b/rust-pvz-genetics/src/godot_wrapper/godot_genome.rs similarity index 100% rename from rust-pvz-genetics/src/wrapper/godot_genome.rs rename to rust-pvz-genetics/src/godot_wrapper/godot_genome.rs diff --git a/rust-pvz-genetics/src/wrapper/mod.rs b/rust-pvz-genetics/src/godot_wrapper/mod.rs similarity index 100% rename from rust-pvz-genetics/src/wrapper/mod.rs rename to rust-pvz-genetics/src/godot_wrapper/mod.rs diff --git a/rust-pvz-genetics/src/wrapper/plant.rs b/rust-pvz-genetics/src/godot_wrapper/plant.rs similarity index 99% rename from rust-pvz-genetics/src/wrapper/plant.rs rename to rust-pvz-genetics/src/godot_wrapper/plant.rs index 6908c37..0b63022 100644 --- a/rust-pvz-genetics/src/wrapper/plant.rs +++ b/rust-pvz-genetics/src/godot_wrapper/plant.rs @@ -13,6 +13,7 @@ pub struct Plant { #[godot_api] impl INode2D for Plant { + // fn ready(&mut self) { let Some(genome) = self.genome.clone() else { return; }; diff --git a/rust-pvz-genetics/src/lib.rs b/rust-pvz-genetics/src/lib.rs index ad44e82..8f9093a 100644 --- a/rust-pvz-genetics/src/lib.rs +++ b/rust-pvz-genetics/src/lib.rs @@ -1,7 +1,7 @@ use godot::prelude::*; pub mod genetics; -pub mod wrapper; +pub mod godot_wrapper; struct PVZGenetics;