From f02797b18c94b4c5580fd856c2384ca242f0339b Mon Sep 17 00:00:00 2001 From: jake Date: Thu, 17 Oct 2019 22:35:33 -0700 Subject: [PATCH] change entitygateway character access --- src/entity/gateway/entitygateway.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entity/gateway/entitygateway.rs b/src/entity/gateway/entitygateway.rs index 8ec4f75..482091f 100644 --- a/src/entity/gateway/entitygateway.rs +++ b/src/entity/gateway/entitygateway.rs @@ -26,11 +26,11 @@ pub trait EntityGateway { unimplemented!(); } - fn new_character_by_user(&mut self, _user: &UserAccount) -> Character { + fn set_character(&mut self, _char: &Character) { unimplemented!(); } - fn set_character(&mut self, _char: &Character) { + fn new_character_by_user(&mut self, _user: &UserAccount) -> Character{ unimplemented!(); }