cleans up mobs.json, adds MoveModes

This commit is contained in:
Llywelwyn 2023-08-15 20:28:21 +01:00
parent 198486df1d
commit 084e5e6f7b
5 changed files with 68 additions and 41 deletions

View file

@ -51,6 +51,17 @@ pub struct Faction {
pub name: String,
}
#[derive(Debug, Serialize, Deserialize, Clone, Eq, PartialEq, Hash)]
pub enum Movement {
Static,
Random,
}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct MoveMode {
pub mode: Movement,
}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct Prop {}