rts-sim-module/component/mkx.go

38 lines
633 B
Go

package component
import "joylink.club/ecs"
var MkxTag = ecs.NewTag()
var MkxInfoType = ecs.NewComponentType[MkxInfo]()
type MkxInfo struct {
PsdId string
}
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
}
var MkxCollectionCircuitType = ecs.NewComponentType[MkxCollectionCircuit]()
type MkxCollectionCircuit struct {
Pcb bool
Pob bool
Pab bool
}