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