New initializes the given System, and may be used to initialize some values beforehand, like storing a reference to the World.
(*World)
| 39 | // New initializes the given System, and may be used to initialize some |
| 40 | // values beforehand, like storing a reference to the World. |
| 41 | New(*World) |
| 42 | } |
| 43 | |
| 44 | // systems implements a sortable list of `System`. It is indexed on |