Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:toolworks:docs:apparatus:mechanism [2021/09/01 16:34] – [C++ Workflow] vladius | en:toolworks:docs:apparatus:mechanism [2021/12/30 17:52] (current) – [C++ Workflow] vladius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Mechanisms ====== | ====== Mechanisms ====== | ||
| - | Mechanisms are the main parts of the Machine which contain scoped Subject, Subjectives, | + | Mechanisms are the main parts of the Machine which contain scoped Subject, Subjectives, | 
| Each UE World, that has any Apparatus-specific entities is accompanied by a Mechanism automatically, | Each UE World, that has any Apparatus-specific entities is accompanied by a Mechanism automatically, | ||
| Line 12: | Line 12: | ||
| To obtain a Mechanism for a World one would call [[appi> | To obtain a Mechanism for a World one would call [[appi> | ||
| - | UMechanism* Mechanism = UMachine:: | + | AMechanism* Mechanism = UMachine:: | 
| </ | </ | ||
| Line 18: | Line 18: | ||
| FSubjectHandle Subject = Mechanism-> | FSubjectHandle Subject = Mechanism-> | ||
| </ | </ | ||
| + | |||
| + | Creating your separate (possibly transient) Mechanisms is also supported and can be handy. You instantiate the Mechanism like you would any other '' | ||
| + | AMechanism* Mechanism = NewObject< | ||
| + | </ | ||
| + | |||
| + | Please, see the corresponding [[appi> | ||
| + | |||