aboutsummaryrefslogtreecommitdiff
path: root/engine/entities/residence.ts
blob: 83ddce864b8cb0ca8afb96fb0252f7f08fa33567 (plain)
1
2
3
4
5
6
7
8
9
10
import type { GameTime } from '@hollowdark/time/gameTime'
import type { PlaceId } from '@hollowdark/engine/entities/base'

/** A span of time a character lived at a specific place. Open-ended if the
 *  character still lives there. */
export interface ResidenceEntry {
  readonly placeId: PlaceId
  readonly from: GameTime
  readonly to: GameTime | null
}