No description
Find a file
2025-02-08 15:56:44 -05:00
src rustfmt 2021-06-08 17:13:11 -04:00
.gitignore init 2021-06-01 12:20:31 -04:00
Cargo.toml update name 2025-02-08 15:56:25 -05:00
LICENSE add license 2025-02-08 15:56:44 -05:00
README.md add readme. 2021-06-08 16:48:40 -04:00

Support an Open Source Developer! ♥️

Become a patron

Planck ECS Game Features

Layer 2 Crate integrating the game_features library with the Planck ECS library.

Provides systems for updating the different game_features structs. Also provides a system bundle to easily integrate into your games.

Usage

Add the following to you Cargo.toml file:

planck_game_features = "*"

Use it like so:

use planck_game_features::*;

#[derive(Eq, PartialEq, Hash, Clone, Debug)]
pub enum Stats {}
#[derive(Eq, PartialEq, Hash, Clone, Debug)]
pub enum Effectors {}
#[derive(Eq, PartialEq, Hash, Clone, Debug)]
pub enum Skills {}
#[derive(Eq, PartialEq, Hash, Clone, Debug)]
pub enum Items {}

fn main() {
    let mut dispatcher = DispatcherBuilder::default();
    dispatcher = GameFeaturesSystemBundle::<Stats, Effectors, Skills, Items>::insert(dispatcher);
}

Maintainer Information

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