new character format
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use crate::{
|
||||
GameState,
|
||||
ai::Ai,
|
||||
character::AnimatedCharacter,
|
||||
head::ActiveHead,
|
||||
head_drop::HeadDrops,
|
||||
heads::{ActiveHeads, HEAD_COUNT, HeadState},
|
||||
@@ -44,6 +45,7 @@ fn init(mut commands: Commands, query: Query<(Entity, &EnemySpawn)>, heads_db: R
|
||||
]),
|
||||
Ai,
|
||||
))
|
||||
.with_child((Name::from("body-rig"), AnimatedCharacter(id)))
|
||||
.observe(on_kill);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user