Big rework

This commit is contained in:
Rendo 2026-04-04 01:02:52 +05:00
commit ba78ce8502
8 changed files with 67 additions and 53 deletions

View file

@ -0,0 +1,27 @@
use crate::genetics::{gene::{Gene, GenePlace}, genome::Genome};
use godot::builtin::Vector2;
pub fn peashooter_template() -> Genome {
Genome::from_edges(vec![
Gene::new()
], vec![
])
}
fn get_place_base(place: GenePlace) -> Vector2 {
Vector2::ZERO
}
fn get_place_stem(place: GenePlace) -> Vector2 {
Vector2::ZERO
}
fn get_place_head(place: GenePlace) -> Vector2 {
Vector2::ZERO
}
fn get_place_leaf(place: GenePlace) -> Vector2 {
Vector2::ZERO
}