This commit is contained in:
Matthieu Jolimaitre 2024-11-15 04:57:59 +01:00
commit f978b8af17
21 changed files with 4015 additions and 0 deletions

19
src/client.rs Normal file
View file

@ -0,0 +1,19 @@
#![allow(dead_code)]
use std::time::Duration;
use bevy::{app::ScheduleRunnerPlugin, prelude::*};
use lib_client::{display::DisplayPlugin, input::InputPlugin, net::NetPlugin};
mod common;
mod lib_client;
fn main() {
App::new()
// Core.
.add_plugins(ScheduleRunnerPlugin::run_loop(Duration::from_millis(10)))
.add_plugins(NetPlugin)
.add_plugins(DisplayPlugin)
.add_plugins(InputPlugin)
.run();
}