| ↑ Table of Contents ↑ | §2.1.(b) Inheritance >>

§2 Role Binding > §2.1 playedBy relation

#### §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 >>

§2 Role Binding > §2.1 playedBy relation

OT/J version 1.3.1 — last modified: 2013-05-28