diff options
author | anon5 <anon5clam@protonmail.com> | 2021-06-22 16:30:50 +0000 |
---|---|---|
committer | anon5 <anon5clam@protonmail.com> | 2021-06-22 16:30:50 +0000 |
commit | f967a747e4ae01fba3a6c3fd693d0e753faf3ae4 (patch) | |
tree | 22d628df079bb5cac93cc2338cfbe585ff8a2763 /minimap.go | |
parent | 425da65ed46061303604610bb539d6495b2b1f3f (diff) |
Add String methods to some types using stringer and fix some minor defects
Diffstat (limited to 'minimap.go')
-rw-r--r-- | minimap.go | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3,12 +3,14 @@ package mt type MinimapType uint16 const ( - NoMinimap MinimapType = iota - SurfaceMinimap - RadarMinimap - TextureMinimap + NoMinimap MinimapType = iota // none + SurfaceMinimap // surface + RadarMinimap // radar + TextureMinimap // texture ) +//go:generate stringer -linecomment -type MinimapType + type MinimapMode struct { Type MinimapType Label string |