2023-09-27 18:39:18 +08:00
|
|
|
package sys
|
|
|
|
|
|
|
|
import (
|
|
|
|
"joylink.club/ecs"
|
|
|
|
"joylink.club/rtsssimulation/sys/circuit_sys"
|
|
|
|
"joylink.club/rtsssimulation/sys/common_sys"
|
|
|
|
"joylink.club/rtsssimulation/sys/device_sys"
|
|
|
|
)
|
|
|
|
|
|
|
|
// 添加系统到World
|
|
|
|
func BindSystem(w ecs.World) {
|
|
|
|
w.AddSystem(NewWorldTimeSys(),
|
|
|
|
common_sys.NewCounterDownSys(), common_sys.NewTwoPositionMovementSys(),
|
|
|
|
device_sys.NewRelaySys(), device_sys.NewDBQSys(), device_sys.NewZzjSys(),
|
2023-09-28 18:20:53 +08:00
|
|
|
device_sys.NewTurnoutSys(),
|
2023-10-08 16:03:36 +08:00
|
|
|
circuit_sys.NewZdj9TwoDragSys(),
|
|
|
|
circuit_sys.NewSignal2XH1System(),
|
|
|
|
circuit_sys.NewSignal3XH1System())
|
2023-09-27 18:39:18 +08:00
|
|
|
}
|