aaaaa
This commit is contained in:
parent
a9d0678820
commit
1b53a5f15f
3 changed files with 4 additions and 12 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -319,7 +319,6 @@ version = "0.14.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "043c9ad4b6fc4ca52d779873a8ca792a4e37842d07fce95363c9e17e36a1d8a0"
|
checksum = "043c9ad4b6fc4ca52d779873a8ca792a4e37842d07fce95363c9e17e36a1d8a0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bevy_dylib",
|
|
||||||
"bevy_internal",
|
"bevy_internal",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -571,15 +570,6 @@ dependencies = [
|
||||||
"sysinfo",
|
"sysinfo",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "bevy_dylib"
|
|
||||||
version = "0.14.2"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "0c399292fac67682a72666e78872626f3c1c39b34c430b6f02c81d21da91b500"
|
|
||||||
dependencies = [
|
|
||||||
"bevy_internal",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bevy_ecs"
|
name = "bevy_ecs"
|
||||||
version = "0.14.2"
|
version = "0.14.2"
|
||||||
|
|
|
@ -19,6 +19,10 @@ pub fn add_player(
|
||||||
asset_server: Res<AssetServer>,
|
asset_server: Res<AssetServer>,
|
||||||
) {
|
) {
|
||||||
// TODO replace
|
// TODO replace
|
||||||
|
commands.spawn(SpriteBundle {
|
||||||
|
texture: asset_server.load("assets/Blockgrau.png"),
|
||||||
|
..Default::default()
|
||||||
|
});
|
||||||
|
|
||||||
commands
|
commands
|
||||||
.spawn((
|
.spawn((
|
||||||
|
|
|
@ -7,6 +7,4 @@ use crate::AppState;
|
||||||
|
|
||||||
pub(super) fn scene_plugin(app: &mut App) {
|
pub(super) fn scene_plugin(app: &mut App) {
|
||||||
app.add_plugins(EditorPlugin::default());
|
app.add_plugins(EditorPlugin::default());
|
||||||
app.add_plugins(ScenePlugin);
|
|
||||||
// app.add_systems(, )
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue