refactor: comment out currently unused code
This commit is contained in:
parent
e2ee5c68c2
commit
087a391f36
|
@ -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
|
||||
|
|
|
@ -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.,
|
||||
*/
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue