diff --git a/Sources/FirebladeECS/Nexus.swift b/Sources/FirebladeECS/Nexus.swift index 071632c..6518a8f 100644 --- a/Sources/FirebladeECS/Nexus.swift +++ b/Sources/FirebladeECS/Nexus.swift @@ -99,3 +99,10 @@ extension Nexus { delegate?.nexusRecoverableErrorOccurred(message) } } + +// MARK: - CustomDebugStringConvertible +extension Nexus: CustomDebugStringConvertible { + public var debugDescription: String { + return "Nexus" + } +} diff --git a/Sources/FirebladeECS/UnorderedSparseSet.swift b/Sources/FirebladeECS/UnorderedSparseSet.swift index cab51eb..d7bbca0 100644 --- a/Sources/FirebladeECS/UnorderedSparseSet.swift +++ b/Sources/FirebladeECS/UnorderedSparseSet.swift @@ -14,8 +14,8 @@ open class UnorderedSparseSet: MutableCollection, RandomAccessCollectio public let element: Element } - public private(set) var dense: ContiguousArray - public private(set) var sparse: [Index: Key] + @usableFromInline var dense: ContiguousArray + @usableFromInline var sparse: [Index: Key] public init() { sparse = [Index: Key]()