Skip to content

Implementation Role Feature 7

Max Leuthäuser edited this page Aug 7, 2015 · 3 revisions

Title

Unrelated objects can play the same role

Description

This complements the observations of feature 3 and 4.

Implementation

val someCoreA = new CoreA()
val someCoreB = new CoreB()

someCoreA play new RoleA()
someCoreB play new RoleA()

Additional hints

None.

Clone this wiki locally