-
-
Notifications
You must be signed in to change notification settings - Fork 12
Implementation Role Feature 9
Max Leuthäuser edited this page Nov 18, 2021
·
6 revisions
Roles can be transferred between objects
It is useful to drop a role from one player and transfer it to another one. The state should be kept.
val someCoreA = new CoreA()
val someCoreB = new CoreB()
val someRole = new RoleA()
someCoreA play someRole
someCoreA transfer someRole to someCoreB
(E.g., CompartmentRoleFeaturesTest.scala)
None.