diff --git a/ecs/src/commands.rs b/ecs/src/commands.rs index 0549307..e808a91 100644 --- a/ecs/src/commands.rs +++ b/ecs/src/commands.rs @@ -22,7 +22,7 @@ pub struct Commands { } impl Commands { - pub(crate) fn new(now: Duration) -> Self { + pub fn new(now: Duration) -> Self { Self { commands: Vec::new(), now, @@ -72,7 +72,7 @@ impl Commands { )); } - pub(crate) fn apply_deferred(self, world: &mut World) -> Result<()> { + pub fn apply_deferred(self, world: &mut World) -> Result<()> { for command in self.commands { match command { CommandTypes::InsertEntity(entity_object) => {