You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Max Leuthäuser edited this page Oct 16, 2015
·
3 revisions
Title
Roles restrict access
Description
When addressed in a certain role, features of the object itself (or of other roles of the object) remain invisible.
Implementation
When instantiating and storing roles in individual variables you will of course only have access to their specific properties and behavior, regardless of any active role playing relation. On the other hand, however, using the compound role playing object, you have access to all the features, regardless if they are from the player or any attached/played role.