Commit 86da2e38 authored by Sarah's avatar Sarah
Browse files

Begin fleshing out server

parent caeba72b
Pipeline #916 passed with stage
in 13 minutes and 53 seconds
// TODO: REMOVE LATER
#![allow(dead_code)]
use bevy::prelude::*;
mod plugin_group;
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
enum ServerState {
Startup,
Running,
Saving,
Shutdown
}
fn main() {
println!("Hello, world!");
App::build()
.add_plugins(plugin_group::ServerPlugins)
.add_state(ServerState::Startup)
.add_system_set(
SystemSet::on_enter(ServerState::Startup)
.with_system(startup.system())
)
.run()
}
fn startup(
mut app_state: ResMut<State<ServerState>>,
mut commands: Commands
) {
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment