feat: Graph modules layout

This commit is contained in:
Alexey 2026-04-09 12:12:24 +03:00
commit 18931ac157
5 changed files with 769 additions and 407 deletions

1186
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,12 +1,13 @@
cargo-features = ["codegen-backend"]
[package]
name = "bevy_template"
name = "bevy_combat_proto"
version = "0.1.0"
edition = "2024"
[dependencies]
bevy = { version = "0.18.0" }
petgraph = { version = "0.8.3" }
[profile.dev]
opt-level = 1

3
src/graph/action/mod.rs Normal file
View file

@ -0,0 +1,3 @@
//! Action graph is a directed [GraphMap] defined with physical actions (vertices) and logical actions (edges)
//! Logical actions represent action types sent to character
//! Physical actions are actions that are performed with the character

3
src/graph/mod.rs Normal file
View file

@ -0,0 +1,3 @@
//! Specialized graph types
pub mod action;

5
src/lib.rs Normal file
View file

@ -0,0 +1,5 @@
#![warn(missing_docs)]
//! Combat prototype made with bevy
pub mod graph;