cleans up mobs.json, adds MoveModes
This commit is contained in:
parent
198486df1d
commit
084e5e6f7b
5 changed files with 68 additions and 41 deletions
|
|
@ -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 {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue