rts-sim-module/sys/device_sys/psd_motor.go

22 lines
384 B
Go
Raw Normal View History

package device_sys
import (
"joylink.club/ecs"
"joylink.club/ecs/filter"
"joylink.club/rtsssimulation/component"
)
type PsdMotorSys struct {
query *ecs.Query
}
func NewPsdMotorSys() *PsdMotorSys {
return &PsdMotorSys{
query: ecs.NewQuery(filter.Contains(component.PsdMotorStateType, component.TwoPositionTransformType)),
}
}
func (s *PsdMotorSys) Update(w ecs.World) {
}