the
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
mod bot;
|
pub mod bot;
|
||||||
mod graphics;
|
pub mod graphics;
|
||||||
mod head;
|
pub mod head;
|
||||||
mod surface;
|
pub mod surface;
|
||||||
|
|
||||||
// Create Surface
|
// Create Surface
|
||||||
// Create Graphics from map file and with surface as sample
|
// Create Graphics from map file and with surface as sample
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
mod app;
|
mod app;
|
||||||
mod file;
|
mod file;
|
||||||
|
mod player;
|
||||||
mod setup;
|
mod setup;
|
||||||
mod window;
|
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