diff options
| author | Arne Dußin | 2021-02-03 23:00:09 +0100 |
|---|---|---|
| committer | Arne Dußin | 2021-02-03 23:00:09 +0100 |
| commit | 8d166e628ceb2072e045b9ff6b1dcc1002a34d8e (patch) | |
| tree | 54ec6a5a6faee2ecb6a98fe308377c0f0e7ad786 /src/client/map/icon_mark.rs | |
| parent | 9ab689527b3ede7750579b1a926cf0cf88813463 (diff) | |
| download | graf_karto-8d166e628ceb2072e045b9ff6b1dcc1002a34d8e.tar.gz graf_karto-8d166e628ceb2072e045b9ff6b1dcc1002a34d8e.zip | |
Add most of the offline functionality back
Diffstat (limited to 'src/client/map/icon_mark.rs')
| -rw-r--r-- | src/client/map/icon_mark.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/map/icon_mark.rs b/src/client/map/icon_mark.rs index 39fd554..02ed501 100644 --- a/src/client/map/icon_mark.rs +++ b/src/client/map/icon_mark.rs @@ -45,6 +45,11 @@ impl IconMark { textures, } } + + /// Set the inner icon this icon mark is referencing. + pub fn set_icon(&mut self, icon: Icon) { + self.icon = icon; + } } impl Mappable for IconMark { |
