refactor: comment out currently unused code

This commit is contained in:
Muhammad Nauman Raza 2024-05-27 23:25:30 +01:00
parent 7feeafb769
commit 371f0b9f7f
No known key found for this signature in database
GPG key ID: B0EF3A98B29ADB1D
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,7 @@ use crate::player::*;
pub struct Enemy {
pub name: String,
pub movement_speed: f32,
/*
pub rotation_speed: f32,
pub health: f32,
@ -16,6 +17,7 @@ pub struct Enemy {
pub stamina_max: f32,
pub mana: f32,
pub mana_max: f32,
*/
}
// Define the enemy movement system

View file

@ -113,6 +113,7 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
.insert(Enemy {
name: "Goblin".to_string(),
movement_speed: 256.,
/*
rotation_speed: f32::to_radians(360.),
health: 10.,
@ -121,5 +122,6 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
stamina_max: 10.,
mana: 100.,
mana_max: 100.,
*/
});
}