networking shell
This commit is contained in:
parent
e09b7d2537
commit
dbb87c3930
@ -3,6 +3,11 @@ name = "time_travel"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[features]
|
||||
client = []
|
||||
server = []
|
||||
|
||||
[dependencies]
|
||||
avian2d = "0.5.0"
|
||||
bevy = "0.18.0"
|
||||
|
||||
|
||||
@ -7,6 +7,7 @@ use avian2d::{
|
||||
use bevy::{camera::ScalingMode, color::palettes::css::GREEN, prelude::*};
|
||||
|
||||
pub mod avian;
|
||||
pub mod net;
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
|
||||
0
src/net/client.rs
Normal file
0
src/net/client.rs
Normal file
6
src/net/mod.rs
Normal file
6
src/net/mod.rs
Normal file
@ -0,0 +1,6 @@
|
||||
#[cfg(feature = "client")]
|
||||
pub mod client;
|
||||
pub mod protocol;
|
||||
#[cfg(feature = "server")]
|
||||
pub mod server;
|
||||
pub mod shared;
|
||||
0
src/net/protocol.rs
Normal file
0
src/net/protocol.rs
Normal file
0
src/net/server.rs
Normal file
0
src/net/server.rs
Normal file
1
src/net/shared.rs
Normal file
1
src/net/shared.rs
Normal file
@ -0,0 +1 @@
|
||||
|
||||
Loading…
Reference in New Issue
Block a user