diff options
| author | troido <troido@protonmail.com> | 2020-03-03 16:28:19 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-03 16:28:19 +0100 |
| commit | b98ea15acbebe8815f9316b5a8ef3393fdd1c3e6 (patch) | |
| tree | 38481d682bf83706784daa31b0d54e2b53ca17d3 /src/playerid.rs | |
| parent | 0042d08cbd71caace7d8ed0b8fd47c6d3a263e60 (diff) | |
monsters tend to stay around their home
Diffstat (limited to 'src/playerid.rs')
| -rw-r--r-- | src/playerid.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/playerid.rs b/src/playerid.rs index aeaf814..08e31d2 100644 --- a/src/playerid.rs +++ b/src/playerid.rs @@ -5,9 +5,6 @@ pub struct PlayerId { } impl PlayerId { - pub fn from_str(name: &str) -> Self { - Self {name: name.to_string()} - } pub fn to_string(&self) -> String { self.name.clone() } |
