rts-sim-module/component/mkx.go

23 lines
397 B
Go

package component
import "joylink.club/ecs"
var MkxTag = ecs.NewTag()
var MkxCircuitType = ecs.NewComponentType[MkxCircuit]()
type MkxCircuit struct {
PcbList []*ecs.Entry
Pcbj *ecs.Entry
PobList []*ecs.Entry
Pobj *ecs.Entry
PabList []*ecs.Entry
Pabj *ecs.Entry
}
var MkxBoxType = ecs.NewComponentType[MkxBox]()
type MkxBox struct {
Btn *ecs.Entry
MkxplBtn *ecs.Entry
}