Event System Overview

Event System Overview

Created:1/5/2019 3:51 PM
Updated:1/8/2019 2:19 PM
Author:Shane McDermott
Tags:Events, Genesis, Overview

Second Iteration (1/7/2019)
Changes
  • Condensed ActionBase and EventBase as their roles were nearly identical.

Event System Architecture

First Iteration (1/5/2019)

Event System Objectives
The event system should be capable of logging game events.

Event Properties

Property Name
Description
Example
Entities
Mapping of entities involved in the event and their Roles.
{ Bob:INSTIGATOR, Alice:RECIPIENT }
Start Action
Initial action performed by the instigating entity.
[INSTIGATOR] greeted [RECIPIENT].
Resolve: Determine outcome of the event.
Update: Apply the determined results to the affected entities.
GetRecord: Returns a record describing the instigating action and its outcome.

Event System Architecture