Physics update adjustment

Former-commit-id: 10a8828b1ac496c7419672b88049fbda848d9d9d
This commit is contained in:
Joshua Barretto 2019-03-19 11:35:35 +00:00
parent e2f75c118e
commit c75625f179
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,35 @@
// Library
use specs::{Component, VecStorage};
use vek::*;
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
enum Race {
Danari,
Dwarf,
Elf,
Human,
Orc,
Undead,
}
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
pub struct Gender {
Female,
Male,
Unspecified,
}
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
pub struct Character {
race: Race,
gender: Gender,
head: (),
chest: (),
belt: (),
arms: (),
feet: (),
}
impl Component for Character {
type Storage = VecStorage<Self>;
}

View File

@ -30,6 +30,7 @@ impl Component for Dir {
}
// UpdateKind
#[derive(Copy, Clone, Debug)]
pub enum UpdateKind {
Passive,