the
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
mod bot;
|
||||
mod graphics;
|
||||
mod head;
|
||||
mod surface;
|
||||
pub mod bot;
|
||||
pub mod graphics;
|
||||
pub mod head;
|
||||
pub mod surface;
|
||||
|
||||
// Create Surface
|
||||
// Create Graphics from map file and with surface as sample
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
mod app;
|
||||
mod file;
|
||||
mod player;
|
||||
mod setup;
|
||||
mod window;
|
||||
|
||||
|
||||
14
native-player/src/player.rs
Normal file
14
native-player/src/player.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
pub enum PhysicsWorkerInstruction{
|
||||
SessionInput(SessionInputInstruction),
|
||||
SessionControl(SessionControlInstruction),
|
||||
SessionPlayback(SessionPlaybackInstruction),
|
||||
Render,
|
||||
Resize(winit::dpi::PhysicalSize<u32>),
|
||||
ChangeMap(strafesnet_common::map::CompleteMap),
|
||||
LoadReplay(strafesnet_snf::bot::Segment),
|
||||
}
|
||||
|
||||
pub struct Player{
|
||||
graphics:strafesnet_roblox_bot_player::graphics::Graphics,
|
||||
bot:strafesnet_roblox_bot_player::bot::Bot,
|
||||
}
|
||||
Reference in New Issue
Block a user