chore: initial commit
This commit is contained in:
24
crates/client/src/main.rs
Normal file
24
crates/client/src/main.rs
Normal file
@@ -0,0 +1,24 @@
|
||||
use bevy::prelude::*;
|
||||
use tracing::info;
|
||||
|
||||
fn main() {
|
||||
tracing_subscriber::fmt()
|
||||
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
|
||||
.init();
|
||||
|
||||
// Start Bevy app
|
||||
App::new()
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_systems(Startup, setup)
|
||||
.add_systems(Update, sync_system)
|
||||
.run();
|
||||
}
|
||||
|
||||
fn setup(mut commands: Commands) {
|
||||
commands.spawn(Camera2d);
|
||||
info!("Client started");
|
||||
}
|
||||
|
||||
fn sync_system() {
|
||||
// TODO: Implement gossip sync for client
|
||||
}
|
||||
Reference in New Issue
Block a user