Skip to content
#

text-based-game-engine

Here are 22 public repositories matching this topic...

jesselawson
jesselawson commented Jul 13, 2018

Like switches, we should be able to reference a trigger to determine its state.

For example:

story.registerTrigger({
  label: 'created trigger feature',
  trigger: () => { /* something */ },
  then: () => { /* something else */ }

We should be able to query the status of that trigger, like this:

story.triggerStatus('created trigger feature')
// Returns false

or

Improve this page

Add a description, image, and links to the text-based-game-engine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the text-based-game-engine topic, visit your repo's landing page and select "manage topics."

Learn more