Home MORPH Syntax Interactions
  Sponsored by Magnetar Games Main Specification Forum Syntax

MORPH Syntax

Element <Interactions>
Attributes
None.
Content
The Interactions section allows a product to store a replay of a simulation by recording each command that occured throughout execution. Interactions are actually objects in HLA. As with ObjectClasses, the full interaction declarations are essentially divided into two sections. The parameters are listed in groups and attribute groups (see Parameters). The Interactions section may contain DSL-defined categories for metanode organization purposes, and such categories may be nested in any order.

Element <(Category)>
Attributes
  • (DSL Defined)
Content
None.
Categories allow a DSL to organize interactions into a metanode hierarchy.

Element <(Interaction)>
Attributes
  • (DSL Defined Parameters)
Content
  • (DSL Defined Group Parameters)
An interaction represents a class and thus has parameters, much as object classes have attributes. These parameters are declared in the Parameters section, and are applied here using XML "ref" attributes in xs:attributeGroup and/or xs:group elements.