more updates to migrate to bevy 0.9
This commit is contained in:
parent
5961b984f8
commit
4ae6743e48
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,12 @@ pub struct Position { x: f32, y: f32 }
|
|||
|
||||
|
||||
pub fn build_scene(mut commands: Commands) {
|
||||
commands.spawn((
|
||||
Person,
|
||||
Position { x: 10.0, y: 10.0 }
|
||||
|
||||
)
|
||||
);
|
||||
// commands.spawn()
|
||||
// .insert(Person)
|
||||
// .insert(Position { x: 10.0, y: 10.0 } );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue