terrain animation broken, mobs rendering right
This commit is contained in:
@ -210,6 +210,13 @@ func (c *Controller) AddSystem(system System, priority int) {
|
||||
}
|
||||
}
|
||||
|
||||
func (c *Controller) GetSystem(systemType string) System {
|
||||
if system, ok := c.systems[systemType]; ok {
|
||||
return system
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Process kicks off system processing for all systems attached to the controller. Systems will be processed in the
|
||||
// order they are found, or if they have a priority, in priority order. If there is a mix of systems with priority and
|
||||
// without, systems with priority will be processed first (in order).
|
||||
|
Reference in New Issue
Block a user