22 lines
384 B
Go
22 lines
384 B
Go
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) {
|
|
|
|
}
|