From b24300bc4723093ac5f7b545118fe19c5b7939ec Mon Sep 17 00:00:00 2001 From: ShenMian Date: Sat, 27 Jul 2024 01:38:18 +0100 Subject: [PATCH] refactor: rename version_info to version_information Rename the `VersionInfoPlugin` to `VersionInformationPlugin`. --- src/main.rs | 4 ++-- src/plugins/mod.rs | 2 +- src/plugins/{version_info.rs => version_information.rs} | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/plugins/{version_info.rs => version_information.rs} (90%) diff --git a/src/main.rs b/src/main.rs index 7ca2aa9..12a9aa0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,7 +20,7 @@ use events::*; use input_map::*; use leafwing_input_manager::prelude::*; use plugins::performance_matrix::*; -use plugins::version_info::*; +use plugins::version_information::*; use resources::*; use state::*; use systems::{audio::*, auto_move::*, auto_solve::*, input::*, level::*, render::*, ui::*}; @@ -72,7 +72,7 @@ fn main() { }), AudioPlugin, PerformanceMatrixPlugin, - VersionInfoPlugin, + VersionInformationPlugin, InputManagerPlugin::::default(), )) .init_state::() diff --git a/src/plugins/mod.rs b/src/plugins/mod.rs index ea99603..50c18a2 100644 --- a/src/plugins/mod.rs +++ b/src/plugins/mod.rs @@ -1,2 +1,2 @@ pub mod performance_matrix; -pub mod version_info; +pub mod version_information; diff --git a/src/plugins/version_info.rs b/src/plugins/version_information.rs similarity index 90% rename from src/plugins/version_info.rs rename to src/plugins/version_information.rs index 08b0117..afa3b6c 100644 --- a/src/plugins/version_info.rs +++ b/src/plugins/version_information.rs @@ -1,8 +1,8 @@ use bevy::{color::palettes::css::*, prelude::*}; -pub struct VersionInfoPlugin; +pub struct VersionInformationPlugin; -impl Plugin for VersionInfoPlugin { +impl Plugin for VersionInformationPlugin { fn build(&self, app: &mut App) { app.add_systems(Startup, setup); }