Data Structure - scotticus/minion-react GitHub Wiki

This is an attempt to outline the data structure for Minion.

There are two main "buckets" of data: Encounter and Library. Each bucket is filled with Actors.

##Encounter An encounter is a collection of all the actors in the encounter, plus any accompanying information that may be useful (overall challenge rating, specific location, XP awarded, etc.).

##Library The library contains a collection of all the actors available for use in any given encounter. These are intended to be the "master" version of actors, which are then instantiated/copied into encounters.

##Actor An "actor" in Minion is any entity that should be tracked in an encounter.

###Types of actors

  • Monster
  • PC (Player Character)
  • NPC (Non-Player Character)
  • Trap/Terrain feature/etc.