↑ Table of Contents ↑ | §2.1.(b) Inheritance >> |
§2.1.(a) Role-base binding
Roles are bound to a base class by the playedBy
keyword.
1 | public team class MyTeamA { |
2 | public class MyRole playedBy MyBase { |
3 | ... |
4 | } |
5 | } |
↑ Table of Contents ↑ | §2.1.(b) Inheritance >> |