aboutsummaryrefslogtreecommitdiff
path: root/Sources/WmapParser/DataStructures/Component.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2025-12-14 16:16:22 +0100
committerRuben Beltran del Rio <jj@r.bdr.sh>2025-12-14 16:40:52 +0100
commit0b90075f76b6f2df77c01c303322323b1395641a (patch)
tree4e13d3ce0b1f4792eab8d04caefda2218565f5a9 /Sources/WmapParser/DataStructures/Component.swift
parent088a941a72c2f3e9b3382eb9c5d2f21203dd401c (diff)
Use WmapParser namespace
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
+ }
+}