Skip to main content

Class: EventTaxonomy

Defined in: apps/paracosm/src/engine/event-taxonomy.ts:5

Constructors

Constructor

new EventTaxonomy(definitions): EventTaxonomy

Defined in: apps/paracosm/src/engine/event-taxonomy.ts:8

Parameters

definitions

ScenarioEventDef[]

Returns

EventTaxonomy

Methods

all()

all(): ScenarioEventDef[]

Defined in: apps/paracosm/src/engine/event-taxonomy.ts:16

Returns

ScenarioEventDef[]


get()

get(id): ScenarioEventDef | undefined

Defined in: apps/paracosm/src/engine/event-taxonomy.ts:12

Parameters

id

string

Returns

ScenarioEventDef | undefined