Open gilmore606 opened 6 years ago
Roles only need to be looked at on initial actorCzar template actor creation -- the roles are created and added to the template actors. Cloning new actors happens normally without consulting roles.
resources/roles/*.json is read to create the role structures for actorCzar on startup.
roles.json will define named roles, which are just collections of behaviors (with parameters). actors can specify a roles: [x,y...] in actors.json to get all the behaviors of a role.
if an actor specifies a behavior already specified by a role, their specific behavior parameters should override the ones from the role (for any which conflict).