Skip to content

Commit b64d741

Browse files
committed
Add initial sketch of example
1 parent 29453d7 commit b64d741

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

examples/window/create_window.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//! Shows how to create and manipulate windows in bevy using WindowCommands
2+
//!
3+
4+
use bevy::prelude::*;
5+
6+
fn main() {
7+
App::new()
8+
.add_plugins(DefaultPlugins)
9+
.run();
10+
}
11+
12+
// TODO: Make example
13+
14+
fn window_setup(mut commands: Commands) {
15+
commands.window();
16+
}

0 commit comments

Comments
 (0)