aboutsummaryrefslogtreecommitdiff
path: root/engine/state/mood.ts
blob: 205b5ec76b4e52a71f8158781d85eca2f380b5c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import type { GameTime } from '@hollowdark/time/gameTime'

/**
 * Current-week emotional state on the valence × arousal plane.
 *   valence   -1 (negative) to +1 (positive)
 *   arousal   -1 (calm) to +1 (activated)
 */
export interface MoodState {
  readonly valence: number
  readonly arousal: number
  readonly lastUpdated: GameTime
}