Content deleted Content added
m →Structure: again typo |
m minor changes |
||
Line 27:
[[File:Structure of AnActorClass.jpg|thumb|Example of a structure diagram]]
An actor can contain other actors (as a [[object composition|composition]]). In ROOM these are called ''actor references''
This allows to create structural hierarchies of arbitrary depth.
Line 54:
=== Inheritance ===
Actors are classes which can be instantiated as [[object-oriented programming|objects]] several times in the system.
Of course each instance of an actor class is in its own state and can communicate with other instances of the same (and other) classes.
|