Files
bevy-snake/src/ui.rs
2023-03-17 17:54:51 +01:00

15 lines
255 B
Rust

use bevy::prelude::*;
mod score;
pub struct UiPlugin;
impl Plugin for UiPlugin {
fn build(&self, app: &mut App) {
app.add_systems((
score::spawn_score_text.on_startup(),
score::update_score_text,
));
}
}