Skip to content

Commit

Permalink
Add initial sketch of example
Browse files Browse the repository at this point in the history
  • Loading branch information
Weibye committed Jun 6, 2022
1 parent 3944f7f commit f9b3c3e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/window/create_window.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//! Shows how to create and manipulate windows in bevy using WindowCommands
//!

use bevy::prelude::*;

fn main() {
App::new()
.add_plugins(DefaultPlugins)
.run();
}

// TODO: Make example

fn window_setup(mut commands: Commands) {
commands.window();
}

0 comments on commit f9b3c3e

Please sign in to comment.