generated from 2ndbeam/bevy-template
feat: Graph modules layout
This commit is contained in:
parent
d38dec9ea5
commit
18931ac157
5 changed files with 769 additions and 407 deletions
1186
Cargo.lock
generated
1186
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -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
3
src/graph/action/mod.rs
Normal 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
3
src/graph/mod.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
//! Specialized graph types
|
||||
|
||||
pub mod action;
|
||||
5
src/lib.rs
Normal file
5
src/lib.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#![warn(missing_docs)]
|
||||
|
||||
//! Combat prototype made with bevy
|
||||
|
||||
pub mod graph;
|
||||
Loading…
Add table
Add a link
Reference in a new issue