SystemAddByInterfacer is a system that also implements the AddByInterface method
| 19 | |
| 20 | // SystemAddByInterfacer is a system that also implements the AddByInterface method |
| 21 | type SystemAddByInterfacer interface { |
| 22 | System |
| 23 | |
| 24 | // AddByInterface allows you to automatically add entities based on the |
| 25 | // interfaces that the entity implements. It should add the entity passed |
| 26 | // as o to the system after casting it to the correct interface. |
| 27 | AddByInterface(o Identifier) |
| 28 | } |
| 29 | |
| 30 | // Prioritizer specifies the priority of systems. |
| 31 | type Prioritizer interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…