No description
Find a file
2021-05-14 12:19:45 -04:00
repo add planck_ecs logo. 2021-04-11 12:06:15 -04:00
src rustfmt. 2021-04-11 13:09:27 -04:00
.gitignore create crate. 2021-04-11 12:00:54 -04:00
Cargo.toml bump version for planck_ecs update. 2021-05-14 12:19:45 -04:00
LICENSE add license 2021-04-11 12:01:05 -04:00
README.md update readme. 2021-04-11 13:09:18 -04:00

Planck ECS Planck ECS Bundle

Planck ECS Bundles

Support an Open Source Developer! ♥️
Become a patron

Depends on:

Read the documentation.

Features

  • Adds Bundle, a trait that creates a group of ECS systems and can add them to a dispatcher.

Usage

Add the following to you Cargo.toml file:

planck_ecs_bundle = "*"

Use it like so:

use world_dispatcher::*;
use planck_ecs_bundle::*;
struct TestBundle;
impl Bundle for TestBundle {
    fn systems() -> Vec<System> {
        vec![
            (|| {Ok(())}).system(),
            (|| {Ok(())}).system(),
            (|| {println!("hello!"); Ok(())}).system(),
        ]
    }
}
fn main() {
    let mut builder = DispatcherBuilder::default();
    builder = TestBundle::insert(builder);
}

Maintainer Information

  • Maintainer: Jojolepro
  • Contact: jojolepro [at] jojolepro [dot] com
  • Website: jojolepro.com
  • Patreon: patreon