SpaceTraders API implemented for Bevy the game engine.
Consult official Docs for APIs explanations.
Learm more about Bevy here and about SpaceTraders here.
Issues / Pull requests / criticism / requests welcome.
```rust use bevy::{log::LogPlugin, prelude::}; use bevy_mod_pies_spacetraders_api::prelude::;
fn main() {
App::new()
.addplugins(MinimalPlugins)
.addplugins(LogPlugin::default())
// we will need this, it sets up stuff
.addplugins(ClientPlugin)
.addsystems(Startup, addtoken)
.addsystems(Update, setstatus.runif(runonce()))
.addsystems(Update, getstatus.runif(/* custom run condition is provided: */response_received::
fn addtoken(mut config: ResMut
// each API is it's own Resource (on surface, interior mutability goes BRRRRR)
fn getstatus(mut status: ResMut
|SpaceTraders|Bevy|Crate*|
|-|-|-|
|June 24, 2023
|0.11.0
|0.3.0
, 0.2.0
|
|June 24, 2023
|0.10.1
|0.1.1
, 0.1.0
|
*After 0.3.0
user will be able to create their own api impl and keep up themeself with spacetraders breaking changes, see custom_endpoint_example
in examples
Repo is dual licensed under MIT
or Apache-2.0
unless stated othervise.