Проектная работа - WIP
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
use bevy::{app::FixedMain, prelude::*};
|
||||
|
||||
fn main() {
|
||||
App::new() //
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_systems(StateTransition, state_transition)
|
||||
.add_systems(PreStartup, pre_startup)
|
||||
.add_systems(Startup, startup)
|
||||
.add_systems(PostStartup, post_startup)
|
||||
.add_systems(First, first)
|
||||
.add_systems(PreUpdate, pre_update)
|
||||
.add_systems(FixedMain, fixed_main)
|
||||
.run();
|
||||
}
|
||||
|
||||
fn state_transition() {
|
||||
info!("StateTransition");
|
||||
}
|
||||
|
||||
fn pre_startup() {
|
||||
info!("PreStartup");
|
||||
}
|
||||
|
||||
fn startup() {
|
||||
info!("Startup");
|
||||
}
|
||||
|
||||
fn post_startup() {
|
||||
info!("PostStartup");
|
||||
}
|
||||
|
||||
fn first() {
|
||||
info!("First");
|
||||
}
|
||||
|
||||
fn pre_update() {
|
||||
info!("PreUpdate");
|
||||
}
|
||||
|
||||
fn fixed_main() {
|
||||
info!("FixedMain");
|
||||
}
|
||||
Reference in New Issue
Block a user