From d679712dd826a534a5a657aff7a92afefdfd206d Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Wed, 8 Jan 2025 01:42:10 -0800 Subject: [PATCH] First system --- src/main.rs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index e7a11a9..672b205 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,12 @@ -fn main() { - println!("Hello, world!"); +use bevy::prelude::*; + + +fn gamarjoba() { + println!("Gamarjoba, munde!"); +} + +fn main() { + App::new() + .add_systems(Update, gamarjoba) + .run(); }