Crates.io | froggy |
lib.rs | froggy |
version | 0.4.2 |
source | src |
created_at | 2017-02-12 02:40:32.518411 |
updated_at | 2017-10-25 19:03:33.712238 |
description | Froggy is a prototype for the Component Graph System programming model. It aims to combine the convenience of composition-style Object-Oriented Programming with the performance close to Entity-Component Systems. |
homepage | |
repository | https://github.com/kvark/froggy |
max_upload_size | |
id | 8479 |
size | 59,333 |
Froggy is a prototype for Component Graph System. Froggy is not an ECS (it could as well be named "finecs" but then it would have "ecs" in the name... yikes)! Give it a try if:
Check ecs_bench for performance comparisons with actual ECS systems.
extern crate froggy;
fn main() {
let mut positions = froggy::Storage::new();
// create entities
let entities = vec![
positions.create(1u8), positions.create(4u8), positions.create(9u8)
];
// update positions
for e in &entities {
positions[e] += 1;
}
}
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.