krabmaga 0.6.1

A modern developing art for reliable and efficient Agent-based Model (ABM) simulation with the Rust language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// A resource containing data about the simulation, for ease of access during initialization.

use bevy::prelude::Resource;

#[derive(Resource)]
pub struct SimulationDescriptor {
    pub title: String,
    pub width: f32,
    pub height: f32,
    pub center_x: f32,
    pub center_y: f32,
    pub paused: bool,
    pub ui_width: f32,
}