aboutsummaryrefslogtreecommitdiff
path: root/Sources/WmapParser/Component.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sources/WmapParser/Component.swift')
-rw-r--r--Sources/WmapParser/Component.swift6
1 files changed, 6 insertions, 0 deletions
diff --git a/Sources/WmapParser/Component.swift b/Sources/WmapParser/Component.swift
new file mode 100644
index 0000000..027ac59
--- /dev/null
+++ b/Sources/WmapParser/Component.swift
@@ -0,0 +1,6 @@
+/// A component in the map.
+public struct Component: Sendable, Equatable {
+ public let label: String
+ public let coordinates: MapPoint
+ public let shape: Shape
+}