Files

22 lines
714 B
Swift
Raw Permalink Normal View History

import Foundation
/// The moment two present users mutually acknowledge each other.
///
/// This is the emotional climax of the product the instant two strangers
/// who were physically near each other both chose to be seen, and their
/// silhouettes resolve into people. Everything else in the app exists to
/// create this moment.
struct Reveal: Identifiable {
let id: UUID
/// The encounter that produced this reveal.
let encounter: Encounter
/// The connection created by mutual consent.
let connection: Connection
init(encounter: Encounter, connection: Connection) {
self.id = connection.id
self.encounter = encounter
self.connection = connection
}
}