gamai 0.1.39

Modular task switching library suitable for Game AI and Robotics.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use gamai::prelude::*;



pub fn main() {}

#[action(system=foo)]
#[derive(Clone, Serialize, Deserialize, Component)]
pub struct Foo {
	health: u32,
	#[shared]
	score: Score,
}

fn foo() {}